OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Adding DOCTYPE causes CSS weirdness
This page's ID:
21967
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[quote] they are useful for validation purposes. [/quote] Not only, dammit! They're useful to the browser to map a correct tree on top of an html document, which impacts the final layout greatly. And this: 2. Read the DTD information at the top of the page and then decide which of its inbuilt set of rules it uses for parsing the page. Is how it works, there still is a universe between browsers not using dtds and what really happens. The mozilla doctype sniffing page says the doctype [b]declaration[/b] is sniffed: [quote]This document contains describes how Mozilla uses the DOCTYPE declaration to determine strict mode vs. quirks mode.[/quote] From the w3c site: http://www.w3.org/TR/REC-html40/struct/global.html [quote] The URI in each document type declaration allows user agents to download the DTD and any entity sets that are needed. The following (relative) URIs refer to DTDs and entity sets for HTML 4: [/quote] do the expressions "entity sets" and "needed" ring any bell? About the syntax you used, I am searching the w3c docs for an explanation, but apparently, you can link to entity sets at least, and it "should" work (and probably does).
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »