Sorry Kor, this is relating to the Background image. The Background colour is fine.
What happens is the onload event calls a function which specifies the Background image for a DIV within the page. When loaded in IE it's fine, but when loaded through any other Browser the results are not the same.
Agree, coothead. But in fact, the whole code was nonsense. The background color was set to white, while the opacity was set to 0. What for? I suspect that should be a JavaScript code which supposes to make a transition. same for the menu.
swatchwatch, judging upon the way you have written the script (as language="JavaScript 1.2"), you are using some medieval codes, written about 10 years ago, for IE only. I am even surprised that they still work, even if only by half
You simply must find some modern similar snippets.
Thanks for the advice Kor, this was somehting I flung together quickly so not concerned about the era of code. Anyway thanks again the deletion of the background colour from #mainscreen worked just fine.
Coothead, this is not a commercial application, it is something that was put together very quickly for a purpose. I asked a simple question I did not request a code review. Kor answered the question perfectly. I think we are going off on a tangent here, I am well aware the code is not cutting edge and quite frankly don't give a monkeys. It works fine in all browsers and with Kor's help I can now close the book on this one.
Bookmarks