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
Resio: No, it's not non-conformant in other HTML versions either. The syntax rules governing the comments are different, but this is valid HTML4 Strict, and with a change of Content-Type header and doctype, plus the addition of the appropriate namespace declaration, valid XHTML1 Strict. [code]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <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]The conditional comment does not change the validity in either XML or SGML based HTML versions. Though of course, there's never been a widespread SGML based user agent, so that's just a shim anyway. In fact the standard up til now was the Netscape comment parsing because that's what Microsoft reverse engineered and everybody then later on reverse engineered the Microsoft implementation. A clear case where the [i]de jure[/i] standard contradicts the [i]de facto[/i] standard to the point that only overlap to be seen is the bare minimum of a much richer syntax. -- 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]"};
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »