#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.
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.