[thelist] layers in tables

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Mon Jun 5 09:42:11 CDT 2006


> But how do you keep that div positioned in the table if your table expands
> to fit the browser window, or if you centre the table ?
>

It will be positioned "relative to" the container it is in (the TD or TH).
That means if you do not specify any top or left values, then the div will
ALWAYS be positioned inside the table.
And since div is a block-level element by default, it will fill the entire
width of the TD.
Think like you are putting a paragraph inside the TD.

[1] http://www.brainjar.com/css/positioning/


HTH,
-- 
Volkan Ozcelik
+>Yep! I'm blogging! : http://www.volkanozcelik.com/cre8/blog/
+> Going solo in Turkish: http://www.volkanozcelik.com/donkisot/
+> My projects/studies/trials/errors : http://www.sarmal.com/
+> Sardalya JavaScript Library: http://www.sarmal.com/sardalya/



More information about the thelist mailing list