Valhalla Legends Forums Archive | Web Development | JavaScript/CSS stuff

AuthorMessageTime
St0rm.iD
#1: I need to have a textarea and a submit button fill 100% of the area (i.e. css width: 100% and height: 100%). How do I do this?

#2: I need to conditionally check what the pixel values of width: 100% and height: 100% would be in javascript.
June 12, 2004, 3:39 AM
peofeoknight
with css just say height:100%; width:100% or
{
position:absolute;
top:0px;
left:0px;
right:0px;
bottom:0px;
width:auto;
}

and there are other methods. But Ie does not like makeing things 100% high, its an ie bug, it will only make things as tall as they stretch for some reason, I have to hack that frequently. Ie sucks. I do not know the js script you wanted, sorry, I am not a js man, use it as little as possible.
June 14, 2004, 3:29 PM

Search