Mac I.E. 5.2 loses body style (page background) from CSS

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

Mac I.E. 5.2 loses body style (page background) from CSS

Post by mfindlay »

Just a note to whomever this may be helpful to:

Using Milonic 5.32 on Mac OSX (Jaguar) Mac IE 5.2:

I lose my page background which I define in a linked CSS fle. The following is the CSS style which defines the repeating page background, a hairline image that runs down the left side of the page:

#internalbg {
background-image: url(graphics/common/hairline.gif);
background-repeat: repeat-y;
}

And the following is the body tag:
<body id="internalbg" onload="MM_preloadImages('../../graphics. . . . .

The background only gets lost on Mac I.E. All other browsers on mac and PC work fine.

Solution:
The solution was to remove the drawMenus() command from my menu_data.js (which I include in the <head> section along with all the other milonic files) and to instead place the drawMenus() command AFTER the <body> tag.

Of course I would imagine that placing all the scripts after the <body> tag would accomplish the same thing, but I like to keep the body clean as possible.

Hope this helps anyone seeing odd behavior on Mac IE.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I think I heard a similar solution where tables where concerned placing the drawmenus at the bottom of the page.

Would have liked to see an example;)

maz
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

Post by mfindlay »

Maz wrote:I think I heard a similar solution where tables where concerned placing the drawmenus at the bottom of the page.

Would have liked to see an example;)

maz
Here it is: http://www.caseygrants.org/newsite/nobackground.asp
Post Reply