Internet Explorer won't display images
I'm working on a site for a client and at the moment its working fine in FF3 Safari 3. In ff2 safari 2 and IE it doesn't seem to want to display the replicated background image for the body.
If anyone has any suggestions that would be ace, the url is:
Thanks in advance
If I remember right, IE doesn't like the attributes WIDTH="" and HEIGHT="", and treats the blank fields as if they were zeros. Try leaving those off the img tag and see if that works.
Thats helped, just need to work out whats up with the background-image because it fails to show up in old FF IE and safari. Anybody know what it may be?
Try this with an underscore. Maybe it's not liking the hyphen, -rename the image background:url(images/background_blue.jpg) repeat-repeat
I know this sounds unlikely: but things happen. Just last night I had to go through several dozen pages and re-name all images that had CAP suffixes, to 'lowercase', because the host site refused to display images named "name.JPG" etc.
Last edited by WebJoel; 06-27-2008 at 02:07 PM.
Nope, no luck... thanks though. Anyone have any ideas?
There is a runtime error that shows in IE-mode. Line 71. this:
Now, I *think* that an array such as this should NOT have a "comma" after the LAST preloadImages... try removing the " , " and see what (if anything) happens..
done that and still nothing. I've tried spacing different way but nothing. Its working as a method on divs...
your background-image (background_blue.jpg) is CMYK - change to RGB and you're sorted.
also for this line:
change to :
<img src="http://www.g-williams.co.uk/CovLife/images/navbuttons_03.jpg" class="space" alt="" />
that'll sort the positioning problem in IE between the header and nav bar - you should really ALWAYS give you img tags height and width atribs. but just sorting the first one should be provide a qick fix.
<img src="http://www.g-williams.co.uk/CovLife/images/navbuttons_03.jpg" width="6" height="26" class="space" alt="" />
Ahhh! -I'd have never thought of that!
And removal of that trailing " , " stops the M$debugger from launching when viewed in IE-mode.
Thanks guys. The background thing worked and im updating the height and width now. just one more issue...
i have a transparent png working with ie6 if inserted in via html but i have one in css so any ideas how to fix that??
It may redundant to hear, but is the path correct? This is usually the first, best culprit to check for.
Originally Posted by gazzwi86
The filepath is fine, it works in FF safari opera just not ie 5.1 5.5 and 6 and seeing as the site is for students and most unis are stuck on ie6 ill be stuffed if i cant fix it. I've tried a few ways but nothing that fixed the css implemented pngs... would gif be an easy fix via an if ie6 statement??
As far as I know (and I could be wrong), IE's support for Alpha Layer Transperency was pretty poor before IE7 - not sure if there's a solution as such, might be some work 'rounds though.
yeah, 'if IE then gif' conditional would definately work. I have never had much luck with IE and *png format images, so I generally just do not even bother.
I am still holding our hope & torch for the "transparent *jpg" which will have the attribs of a JPG (24-million colors, etc), but can also have a transparent layer like *gif (which is limited to 256-colors, as you know)l..
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)