[thelist] help with xhtml
Erika Meyer
erika at seastorm.com
Thu Mar 1 22:22:34 CST 2001
I couldn't pull the page up at all with Mozilla (M16).
So I went to http://validator.w3.org/
The validator found some missing trailing slashes (like on the DTD)
and other oddities (feel free to steal my DTD from
http://www.seastorm.com/ ; it's worked pretty well for me...)
it had issues with your use of JavaScript (within HTML tags) also.
From the XHTML 1.0 Recommendation:
"Use external style sheets if your style sheet uses < or & or ]]>.
Use external scripts if your script uses < or & or ]]>."
http://www.w3.org/TR/1999/PR-xhtml1-19990824/
(under compatibility guidelines)
I have played a bit with JavaScript in XHTML docs, but have always
put my JavaScript in an external file.
Whether the DTD or the JavaScript has anything to do with the spaces
you see, or the fact that I can't see your document at all, I'm not
sure... but it's really important that your XHTML be valid & well
formed, and this is not quite there yet.
Erika
>hi all:
>i am taking my first stab at coding a site in xhtml & have run into a
>problem - evrything lays out fine in NN4, IE5 & Opera but on Mozilla i am
>getting spaces in my table & i don't know why - could one of the experts
>out there please take a look & let me know what i'm doing wrong?
>
>http://www.widgetworks.com/~cheryl/katia/index_new.html
>
>i have only tested on the above mentioned browsers on a mac so if it's
>acting differently on a pc i would appreciate that info also - this
>particular page was originally done using fireworks although i can and do
>hand code - all the links are still in html & i haven't started converting
>them
>
>tia
>cheryl amato
erika at seastorm.com
More information about the thelist
mailing list