Conflicting Absolute Positions & Web Layouts

CSS positioning is something for layout that I’m still trying to wrap my head around, but this technique sounds interesting, simple and handy:

Link: A List Apart: Articles: Conflicting Absolute Positions.

It struck me that assumption no. 2—that only one corner of a div can be absolutely positioned on a page—should be very easy to either confirm or deny. What happens if we absolutely position a div by defining its top, left, bottom, and right properties, all at the same time? After all, although I think of it as being a “conflict,” it’s actually perfectly valid CSS.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.