[thelist] pros and cons of absolute positioning in css

Kasimir K evolt at kasimir-k.fi
Thu Feb 24 05:55:53 CST 2005


Peter-Paul Koch / 2005-02-23 20:35
> Besides, try enlarging the text in an absolute layout. More likely
> than not the boxes become too small and the text starts doing
> memorable things. The solution, giving every single element an
> overflow: auto, gets ugly in a hurry.

The other solution is not at all ugly: use ems for sizing and 
positioning the text containers - try enlarging the text, and the 
containers grow too. This is called elastic design [0].

Of course this works with floats and relative positioning too.

.k


[0] http://www.alistapart.com/articles/elastic/



More information about the thelist mailing list