|
Posted by dorayme on 05/22/06 07:38
In article
<1148264941.133859.200190@u72g2000cwu.googlegroups.com>,
jaschreiber@gmail.com wrote:
> i'm writing this only because i spent a good two days endlessly trying
> to solve this problem and couldn't find anything on the internet that
> actually helped. I eventually figured out the solution, as no doubt so
> does everyone (hence the solution never actually being posted: it seems
> too obvious to bother)... but had i found it sooner, i would have been
> happy, so here goes:
>
> if you're trying to get a CSS div to span the total height of the
> window and scrolling is likely to be involved (for instance, a menu
> sidebar), don't use the height: 100% tag! set margin-top: 0px and
> margin-bottom:0px.
Why use any height at all?
--
dorayme
[Back to original message]
|