fixed and variable div heights
i want a div to resize its height when the browser is resized but also want the div to be 100 pixels from the top and i want the bottom edge to be 40 pixels from the bottom. i know that you can define the hight as a percentage but this will not work in this case because the 100 and 40 are not percentages
<div class=inmiddle>some content and stuff</div>
EDIT: I though I might try this:
<div style="position: absolute; top: 0px; bottom: 0px; height: 100%; padding-top: 100px; padding-bottom: 50px;">
Last edited by scragar; 03-16-2005 at 04:02 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)