|
|
 |
Re: FN-FORUM: CSS help please - dissapearing DIV Background image in Explorer
date posted 9th January 2007 10:35
A common cause of this in Explorer is that you haven't set the height
of the . I know, you shouldn't need to, but IIRC IE sometimes
has a problem with this. Set the height of the div to be the height
of the background image and it should work. I think there is also
something about this on Holly and John Bergevin's site (http://
www.positioniseverything.net/). The Holly Hack involves setting a 1%
height only for IE. Don't know why it works but it apparently does
(I've not had to resort to it).
I also find it really useful, when chasing down problems like this,
to put a nice bright red border around the element that I think is
causing the problem (obviously only as a temporary measure!). Try
doing this with the div that has the disappearing background and see
how tall it is in IE. My guess is that it will be zero height in IE.
Ian.
--
On 9 Jan 2007, at 1:48 am, Jay Alvarez wrote:
>
> Could someone please shed some light on why I can't see the background
> header image for the Div called Container on my site? It shows up
> fine in
> Firefox and Opera. Any help much appreciated.
>
> the link is: http://www.limbicfish.net
>
> Jay
>
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|