hey..
how can i "stretch" and object to reach the bottom of the page, from it's starting point?
i have a ul object which starts at pixel 145, with a border, and i'd like it to stretch all the way to bottom of the page to make a frame.
my doctype is strict.
i have tried setting the height to 100%, which doesn't make the right effect, and i tried setting the bottom to 0px, which only works in case there's no scrolling.
here's my css:
this is the html:
thanks..
(-:
how can i "stretch" and object to reach the bottom of the page, from it's starting point?
i have a ul object which starts at pixel 145, with a border, and i'd like it to stretch all the way to bottom of the page to make a frame.
my doctype is strict.
i have tried setting the height to 100%, which doesn't make the right effect, and i tried setting the bottom to 0px, which only works in case there's no scrolling.
here's my css:
Code:
body
{
background-color: white;
padding: 0px;
margin: 0px;
width: 100%;
height: 100%;
font-family: Verdana;
font-size: 10pt;
color: rgb(110, 110, 110);
}
#menu
{
position: absolute;
top: 145px;
left: 50px;
width: 220px;
height: 100%;
list-style-type: none;
margin: 0px;
padding: 0px;
clear: both;
margin-top: 20px;
border: 1px dotted rgb(73, 57, 21);
border-bottom: none;
}
#menu li
{
vertical-align: middle;
height: 24px;
line-height: 24px;
font-size: 1.1em;
padding-left: 38px;
color: rgb(73, 57, 21);
border-bottom: 1px dotted rgb(73, 57, 21);
cursor: pointer;
}
this is the html:
Code:
<ul id="menu">
<li>Item 1</li>
<li>Item2</li>
<li>Item3</li>
</ul>
thanks..
(-: