Connecting Tech Pros Worldwide Forums | Help | Site Map

Image does not display in IE

Newbie
 
Join Date: Feb 2009
Posts: 1
#1: Feb 5 '09
Hello, I am new to this website so I hope I'm doing this correctly....

Some of the pages on my website are image galleries, and when you roll your cursor over a small image icon, a full-sized version of the actual image shows up to the right. However, I am unable to view some of the small image icons in Internet Explorer; they show up as tiny empty squares. The strange thing is that I can see the icons perfectly in Firefox.

Here is an example: http://saveyongba.webs.com/elephantgallery.html

In the page above, only the first 10 image icons show up in IE. In Firefox, all show up.

Why is this happening? Can anyone please tell me? I appreciate your help very much!

drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,580
#2: Feb 5 '09

re: Image does not display in IE


The main reason is IE is the worst browser on the planet. IE is in quirks mode right now because you don't have a doctype. Add this to your first line:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

and let's see where we go with just that.
Reply