Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
06-03-2005, 06:55 PM #1
- Join Date
- Jul 2003
- Thanked 0 Times in 0 Posts
Overall Feeling on Absolute Positioning W/CSS
So what's the general consensus on using absolute positioning? I'm referring only to sites that utilize a fixed, "top-left" layout.
There's often various design elements and some are background images, some are hot buttons/links, and absolute positioning works extremely well for these types of things. Laying an image element over something specifically where needed is a nice feature without messing with padding everywhere and testing in multiple browsers ..
This is fairly new to me, as I've always done things without absolute positioning (most site I've done wouldn't work well with it, given I like the 700 pixel wide page fixed in the center of the screen), but like I said - for top-left site layouts, it works well.
Is there anything bad about it? It seems so useful in certain instances. Yet I'm so worried.
06-03-2005, 07:20 PM #2
- Join Date
- Dec 2004
- In a place far, far away...
- Thanked 1,043 Times in 1,019 Posts
For fixed top left layouts I think its fine. For layouts that are centered if you make their containing div position:relative; you can use absolute positioning in relation to the corner of that div and not the browser. Here is a good tutorial about this type of positioning.
Last edited by _Aerospace_Eng_; 06-03-2005 at 09:33 PM.