View Full Version : FF ok IE not ok!!

01-17-2006, 08:30 AM
Hi, I need a bit of advice. Can anyone explain what I have done wrong here?! This page loads ok in Firefox, my main browser but does not load up at all in IE6.

see the below links' source.
www.squashandspanna.com/pics.html (http://www.squashandspanna.com/pics.html)

01-17-2006, 01:51 PM
I have now checked it with the w3c validator and it has passed so I am very confused. this will not show on my home pc or my work pc using IE?

01-17-2006, 03:18 PM
First of all, this isn't an accessibility issue, simply one about markup (and should go in the HTML forum). However, on that particular topic, the alternative text for the various decorative images (the logo, and the butterflies) should be removed. Decorative images should have empty (alt="") values. The '(click to exit)' text on all of the thumbnails should be removed, too. If you have the Web Developer extension for Firefox, disable images (CSS, for this example, too) then read all of the text, top-to-bottom, aloud and it should be obvious why these things shouldn't be there.

As for the problem at hand, as I said, it's a markup issue. Start by dropping XHTML (which is not viable on the Web) and write HTML like any sane person would. Your document won't be parsed as XHTML by any browser, anyway.

If you do insist on writing XHTML, first, you should use nothing other than the Strict DTD (the same goes for HTML, really). You must also read Appendix C (http://www.w3.org/TR/xhtml1/#guidelines) of the XHTML 1.0 Specification (http://www.w3.org/TR/xhtml1/), which you clearly haven't done.

A final couple of notes: The system identifier of your document type declaration (DTD/xhtml1-transitional.dtd) is wrong. It should be http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd. The second link element has an incorrect rel attribute value ('stylesheet1', instead of 'stylesheet').


01-17-2006, 09:51 PM
thanks and sorry for posting in the wrong forum.