I know this is a stupid question that I should know, but how do you change two style rules for the same element at one time on onload? I have this, but I want to add opacity:0; to it.
function pre_loader() { javascript:document.getElementById('loader').style.visibility='hidden'; javascript:document.getElementById('loader').style.opacity=0;
opacity:0;to it.That should work.
It would be better not to mix HTML with javascript like that though. Try this instead:
I don't think IE support opacity though.
-Cliff