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
No, the document coder has not authored any non-conformant code. The HTML spec doesn't say that authors shouldn't put content in there that does have some meaning. No, it rather dictates that information that occurs between comments has no meaning - meaning that [b]any[/b] content the coder puts inside the comment is void of meaning. This means that the content of the comment, e.g:[code][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][/code]... does not have a meaning in HTML. You could change that content to any other content (except again for caveats in the comment syntax of the chosen HTML version) and you would not change the meaning of the comment, because neither this particular comment nor any other comment has any meaning in HTML. That it has a meaing in ie tag-soup does not change that it has no meaning in HTML. And if it has no meaning in HTML then nothing you can put in there, short of syntax errors or early closure, can change whether the document is conformant or not. Sorry, but that comment body having a certain effect in ie does not mean anything with regards to HTML. It does not mean the document is invalid (it obviously isn't if you check it in a validator), it does not mean the document is non-conformant (because it does not contradict any statement in the HTML, XHTML, XML or SGML specs), it only means that the document source code has a bit of content that carries no meaning in the document. -- 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-25-2008 09:05)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »