473,574 Members | 2,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

xhtml, css, centering and positioning:abs olute

Hello,

I know most of you are probably going seeing positioning:abs olute; and
centering in the title and saying, oh no! not again! Do a google
search!

Actually, I've found many helpful resources online and realize that my
case may be a bit more challenging.

I'm trying to create a table-less layout that looks something like:
http://www.twocentcalls.com/images/panel_test.jpg

However the only way I can get the staggered panels is by using
absolute positioning and manipulating the z-index. However as I need
this whole panel-layout to be dead center, I'm running into problems.

Can anyone recommend a way to achieve what I'm looking for? When I use
relative positioning and take advantage of the 'float' properties, I
can achieve what I want for the 1st top layer, however the middle-left
text box (green) gets pushed to the bottom of the top-right image
(house's door)

Any ideas on how I can achieve what I need?

Thank you in advance!

Cheers
-Kevin

Jul 21 '05 #1
2 2597
"kevinC" <kc*******@gmai l.com> wrote:
I'm trying to create a table-less layout that looks something like:
http://www.twocentcalls.com/images/panel_test.jpg


That works on a fixed size output medium like print media, not on the
web.

Create something new suitable for the media.

--
Spartanicus
Jul 21 '05 #2
On 7 Jul 2005 07:16:19 -0700, "kevinC" <kc*******@gmai l.com> wrote:
Hello,

I know most of you are probably going seeing positioning:abs olute; and
centering in the title and saying, oh no! not again! Do a google
search!

Actually, I've found many helpful resources online and realize that my
case may be a bit more challenging.

I'm trying to create a table-less layout that looks something like:
http://www.twocentcalls.com/images/panel_test.jpg

However the only way I can get the staggered panels is by using
absolute positioning and manipulating the z-index. However as I need
this whole panel-layout to be dead center, I'm running into problems.

Can anyone recommend a way to achieve what I'm looking for? When I use
relative positioning and take advantage of the 'float' properties, I
can achieve what I want for the 1st top layer, however the middle-left
text box (green) gets pushed to the bottom of the top-right image
(house's door)

Any ideas on how I can achieve what I need?

Thank you in advance!

Cheers
-Kevin


Are you talking about a container div?

Jul 26 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2361
by: Zeke Koos | last post by:
<body> <div style="position:absolute; left:0px; top:0px; width:780px; height:42px; "> <img src="images/CW---Webpage_01.png" width=780 height=42> </div> <div style="position:absolute; left:0px; top:42px; width:52px; height:488px; "> <img src="images/CW---Webpage_02.png" width=52 height=488> </div>
5
4999
by: Duane Lambe | last post by:
On some suggestions from this group, I've started to turn my internal helpdesky site for our company to non-absolute positioning. I've been reading O'Reilly's CSS book, and several web sites and tips. For the most part, things are going OK, but I can't seem to find an answer to a particular problem. Using a simpler example, below's some...
0
1763
by: Jonas Smithson | last post by:
<div style="position: relative;> <!-- I'm the parent --> blah blah blah <div style="position: absolute; bottom: 0;> <!-- I'm the child --> blah blah blah </div> </div> The bottom of the child div lines up with the bottom of the parent div in Win IE6 and in Win NS6. However, Mac IE5 has a nasty bug -- it lines up the bottom of the child...
6
2662
by: Gustaf Liljegren | last post by:
Here's what I'm trying to achieve: 1. A <div>, centered on screen, 600px wide and 100px high, with a background-image (also 600 x 100). 2. Text (an <h1> element) positioned with precision inside the <div>, on the image. 3. A similar result in IE and FF... Here's some of the XHTML:
9
6248
by: Faz | last post by:
Hi I'm having some real trouble with a header I have created within a container. I have two problems; firstly the menu (a horizontal UL) will not centre within the surrounding header, despite attempts to use the following within the #header declaration: margin-left: auto; margin-right: auto; The image above the list is easily centred...
15
13487
by: red | last post by:
How do I center two side by side divs ? I've been writing css pages for a while but there's one thing tha still eludes me. I can center a div with margin auto. I can place two divs side by side with float. But I can't center two side by side divs. If I float them and give them auto margins, the auto margins are ignored. If I wrap the...
1
6331
by: Mr.Clean | last post by:
I'm having trouble with this. The checkbox is no where near where it is supposed to be and the radio button is not at 206 px away from the left of the window. Looks bad in IE6, even worse in Firefox1.0. I tried using <label> tags but they didn't come out right either. Need the class xxxx_Label because I may be having the text to the left...
2
3150
by: nonsensitor | last post by:
I'm just learning xhtml & css, primarily from westciv's online tutorials and css guide. I've run into a couple of problems with a page I'm developing that I can't figure out. The first problem is that I would like to display some text on top of an image within the header. I've tried using absolute positioning to specify where the phone number...
5
4811
by: Markus Ernst | last post by:
Hello This is a test example: http://www.markusernst.ch/anthracite/ http://www.markusernst.ch/anthracite/living_divani.html After googling and experimenting for several hours, I ended up doing this demo with tables. The main problems are the vertical centering of the info area, and of the text inside the squares.
0
7813
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7736
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8066
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8249
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8106
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3743
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3755
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2251
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1350
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.