Stephen Tudor

Bits and tangents on geek life

ALA: Faux Absolute Positioning

One of my favorite web publications, A List Apart, has pushed an article about a new CSS layout technique that the author, Eric Sol, calls Faux Absolute Positioning. Up until now, I’d always relied primarily on floating divs. Other folks preferred using (real) absolute positioning, but that required the use of JavaScript to keep the footer from smooshing things.

For gridtastic designs, this new technique appears to be the best answer CSS has to offer yet. The benefits of absolute positioning, but using relative positioning + negative margins so as not to break the layout. I plan to try this out on future sites I work on, so I withhold final judgment, but as things look right now, Eric Sol will end up as my new CSS rockstar hero.



Tagged as , , + Categorized as Programming

Leave a Reply