----- Original Message ----- From: "Heather Haggerty" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 30, 2005 4:58 PM
Subject: RE: [css-d] Problems with a div height


Hello,

Have you tried setting:

body {
height:100%;
}
? Divs after that are set to 100% should stretch the height of the window.
Although I was having a little trouble with this myself.

No. You cannot stretch a div to 100% height. You can do so with a table, but only if you apply 100% height to html as well as to body and the table.

As here: http://www.pactumgroup.com/tutorials/verticalcenter.php

tim
^^^^^^^^^^^^^^^^^^^^^^^^
Tim Gallant
http://www.pactumgroup.com

Basic tutorials: http://www.pactumgroup.com/tutorials/
Web dev FAQs: http://www.pactumgroup.com/tutorials/faq.php
Techblog: http://www.pactumgroup.com/techblog
******************


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to