I have a bit of a problem with a div causing scrollbars when the height is set to 100%.
Currently, the contents of my page are as follows:
<body> <hr> <div id="content"> <div id="heading"> </div> </div> </body>
The problem is that HR is 5 pixels and the content is 100% of body height. Thus, since it is 100% of the page height, it goes below HR and creates 5px, so that a scrollbar is created that I want to avoid.
My question is: how can I make it 100% tall if he doesn't think that it should be a 100% pageview and not include HR in the page height?
Thanks.
source share