Previous Message
Next Message

RE: [css-d] Thoughts on doing vertical layout with height:100%

Sent by Rieselbach, Erik on 31 January 2002 18:06


Oops, forgot the code for my second, simpler solution.

...

<style type="text/css">  html {height:100%;}  body { margin:0; padding:0; background-color:green;
color:inherit; }  #top { width:100%; background:blue; height:100px; }</style>

...
<body><div id="top">  stuff<br />stuff</div><div>  more stuff<br />more stuff</div></body>
This one works in Mac IE too and may be all you need.

Best,

Erik
Previous Message
Next Message

Possibly related: