Help - Search - Members - Calendar
Full Version: How to resize the height of a DIV in NS?
Weborum Webmaster Forum > Web Page Design > Javascript
aml
When I resize my window I'll resize the height of a table and a div.
It works perfect in IE. Resizing the table works in NS but not the div. Do anyone knows how it works?
To resize the table works like this:
CODE

var x=document.getElementById(myTable).rows
x[0].style.height=  y - 125;

To resize the div in IE works it like this:
CODE

myDIV.style.pixelHeight = y - 125;


HELP!
Willy Duitt
Try using: offsetHeight....

.....Willy
Willy Duitt
BTW: It appears your question was answered here....
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.