[thelist] IE5 problem

fstorr fffrancis at fstorr.demon.co.uk
Sat Nov 9 08:16:01 CST 2002


I'm using XHTML specifications though and the HTML validator has found
some problems with it. What do you people think is the problem?


++++++++

Sorry, I missed this bit!

You've got the xhtml1.0 transistional doctype, but you're not coding to
its standards.  You've got a fair amount of errors, most of which are
easitly fixable (ok, they all are!).  All attributes in xhtml must be
quoted, eg: width=100 must be width="100".  You've also got some
attributes in there that aren't supported in xhtml1.0 such as topmargin
and leftmargin which will have to come out if you want the page to
validate.  Also a fair amount of your <br> elements are written using
the old html format of <br>.  XHTML demands that any elemements that
don't have a closing instance (eg <br>, <img>, <input>) are closed like
this: <br />, <img /> etc.  For experience, IE 5 *should* gloss over
these x/html closing elements and present the page as you'd want.
However, until you get the code correct you won't know!

Cheers

F





More information about the thelist mailing list