OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
div#div# Another IE CSS Hack technique?
This page's ID:
30572
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
In which way does inserting some comments into the document make the document non-conforming? This is perfectly fine HTML5:[code]<!DOCTYPE html> <html> <head> <!--[if IE]> <p>Obviously if this wasn't a comment this document would be non-conformant, but since this is a comment it of course remains conformant.</p> <![endif]--> <title></title> </head> <body> <p></p> </body> </html>[/code]You can do the same thing to earlier HTML versions, of course. How ie treats that comment does not in any way change whether the document is conformant. Ie thinks it sees element content where only a comment body can be found. That does not change the fact that in the document it's only a comment and not element content. -- var Liorean = { abode: "[sigrotate][url]http://liorean.web-graphics.com/[/url]|[url]http://codingforums.com/[/url]|[url]http://web-graphics.com/[/url][/sigrotate]", profile: "[url]http://codingforums.com/member.php?u=5798[/url]"}; [small](Edited by [url=http://www.ozoneasylum.com/user/5032]liorean[/url] on 10-20-2008 16:25)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »