• Welcome to Valhalla Legends Archive.
 

JavaScript/CSS stuff

Started by Banana fanna fo fanna, June 11, 2004, 10:39 PM

Previous topic - Next topic

Banana fanna fo fanna

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

quasi-modo

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.
WAR EAGLE!
Quote(00:04:08) zdv17: yeah i quit doing that stuff cause it jacked up the power bill too much
(00:04:19) nick is a turtle: Right now im not paying the power bill though
(00:04:33) nick is a turtle: if i had to pay the electric bill
(00:04:47) nick is a turtle: id hibernate when i go to class
(00:04:57) nick is a turtle: or at least when i go to sleep
(00:08:50) zdv17: hibernating in class is cool.. esp. when you leave a drool puddle