I am having trouble getting IE to resize my div in an onload function. onload is definitely firing and the alerts below are showing the right values, but it isn t reflected on screen. It works fine on both firefox and chrome (as usual).
var height = document.getElementById("content").offsetHeight;
alert(height);
document.getElementById("extra").style.height = height+80 + "px";
document.getElementById("transparency").style.height = height + "px";
document.getElementById("navtrans").style.height = height+80 + "px";
alert(document.getElementById("navtrans").style.height);
使其在独立就业岗位上工作的任何倾向?