The above page did not render correctly when the line: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> was at the beginning of the page. Now that <html> has been moved to the first line of the html file everything works fine. It is my understanding that you are supposed to have the doctype tag before the html open tag. It passes the WC3 parser with doctype first! Previous versions of Mozilla did not have this problem, it crept in somewhere between the 0.96 and 0.97 release.
How was the rendering incorrect? Moving the <html> to the beginning merely put the document in quirks mode (instead of standards mode) by creating an invalid document)
The page serves up the stylesheet (http://www.datalas.com/templates/layout.css) as text/plain instead of text/css. In standards mode this leads to the sheet being ignored, per HTTP spec. See the 0.9.7 release notes for details and advice on configuring Apache (which you use) to serve it with the right MIME type.
Assignee: harishd → doronr
Status: UNCONFIRMED → NEW
Component: Parser → US General
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: moied → zach
Version: other → unspecified
Mail from reporter: Thanks for that, it is in fact a friends box, but it did have us most perplexed. ----------------------------------- Page now serves the correct type. Marking fixed.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.