This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > October 2005 > Why is IE 6 sometimes hiding background image?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Why is IE 6 sometimes hiding background image?
Dan V.

2005-10-10, 6:35 pm

Why is the banner background image not always displayed on my web site
(www.officeactivate.com) in the banner div in IE 6 but does fine in FireFox?
You may have to move the mouse around on the banner, text, navigation
buttons to see this behavour.

thanks,


Els

2005-10-10, 6:35 pm

Dan V. wrote:

> Why is the banner background image not always displayed on my web site
> (www.officeactivate.com) in the banner div in IE 6 but does fine in FireFox?
> You may have to move the mouse around on the banner, text, navigation
> buttons to see this behavour.


Works okay in my IE6 (WinXP SP2)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Drugdealer Chearleader - Don't Show Me U Love Me
Dan V.

2005-10-10, 6:35 pm


"Els" <els.aNOSPAM@tiscali.nl> wrote in message
news:7jgqon16jxim.dlg@locusmeus.com...
> Dan V. wrote:
>
>
> Works okay in my IE6 (WinXP SP2)
>
> --
> Els http://locusmeus.com/
> Sonhos vem. Sonhos vão. O resto é imperfeito.
> - Renato Russo -
> Now playing: Drugdealer Chearleader - Don't Show Me U Love Me


Try clicking some other main pages in the top nav menu and scroll down and
up again and move the mouse all over the place... :) I still see it..


Els

2005-10-10, 6:35 pm

Dan V. wrote:

> "Els" <els.aNOSPAM@tiscali.nl> wrote in message
> news:7jgqon16jxim.dlg@locusmeus.com...
>
> Try clicking some other main pages in the top nav menu and scroll down and
> up again and move the mouse all over the place... :) I still see it..


I just did that, no change.
The only think I manage to notice, is that on refresh, the colour to
the right of the header image comes back a bit slow.
How about emptying your cache? Maybe it's just too full to add one
more image? (you never know with IE ;-) )

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Gary Moore - Parisienne Walkways (Live)
chris@leipold.ws

2005-10-11, 6:37 pm

Hi Dan,

Dan V. wrote:
> Why is the banner background image not always displayed on my web site
> (www.officeactivate.com) in the banner div in IE 6 but does fine in FireFox?
> You may have to move the mouse around on the banner, text, navigation
> buttons to see this behavour.


I think I know this problem. Try setting the affected element to
position:relative; (if it's static).
I can't explain why it helps, if it helps at all.

Chris

Spartanicus

2005-10-11, 6:37 pm

"Dan V." <d@d.com> wrote:

>Why is the banner background image not always displayed on my web site
>(www.officeactivate.com) in the banner div in IE 6 but does fine in FireFox?


I haven't looked, but sounds like the peekaboo bug, Google for the hack
to solve it.

--
Spartanicus
Dan V.

2005-10-11, 10:41 pm


"Spartanicus" <invalid@invalid.invalid> wrote in message
news:ucnnk1du7btte5db0vrtm3h8vs09tpvor5@news.spartanicus.utvinternet.ie...
> "Dan V." <d@d.com> wrote:
>
>
> I haven't looked, but sounds like the peekaboo bug, Google for the hack
> to solve it.
>
> --
> Spartanicus


You were right Spartanicus.
I added this to my css stylesheet for the div and it seems to work great.

#header {
background-color:#d6dfe6;
background-image: url(images/banner-background.jpg);
background-repeat: repeat-x;
display: block;
margin: 0;
padding: 0;
border: 0;
/* Hides from IE-mac \*/
height: 1%; /* peekaboo hack / Holly hack */
/* End hide from IE-mac */
}


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews