View Full Version : Overall Feeling on Absolute Positioning W/CSS

06-03-2005, 07:55 PM
Hey All,

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, 08:20 PM
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 (http://www.elated.com/tutorials/authoring/css/positioning/) is a good tutorial about this type of positioning.