Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onload doesn't work in IE4 does in ie5 and NS4.x

Status
Not open for further replies.

Klae

Programmer
Mar 5, 2001
269
GB
I have a page that positions elements and then makes them visible after the document is loaded..
Code:
<BODY onLoad=&quot;posThem();&quot;>
but in IE4 it doesn't run the onload function. if I set
Code:
 document.body.onload = posThem;
then it does run but everything is all over the place. what do I do?
 
Well you are going to have to position them seperately for either browser anyway - so just use the method which works, and modify the values you use. I wonder why onLoad is not working though, that is weird.
b2 - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top