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
That's a [i]non sequitur[/i]. Something not being standardised does not mean it isn't standards compliant. Conditional comments in IE are just HTML comments to other browsers. Anything in them is part of a comment and can safely be ignored. It's only IE in particular that treat them differently, treat them in a proprietary manner. Look, CSS allows dashes to lead property names but promises to not use them for any standards property and implementations that do not recognise them just ignore them. Does that mean properties like -moz-binding or -o-replace aren't proprietary? No, it doesn't. But it means that they are not hacks either. (Hacks in this sense defined as abusing or misusing syntax or semantics for purposes that are contrary to the syntax or semantics as specified.) HTML comments are the same. They are specified to be ignored. That means that they are the perfect place to insert special proprietary handling for subsets of that syntax in your particular implementation without actually breaking any rule of the HTML language. As such, proprietary but standards compliant. This is a common thing to do when you are actually trying to avoid breaking a standard - use one of the specified ways of getting some code ignored by a standard to get your proprietary functionality into it without breaking if that code is given to somebody that only supports the standard. Often specs are actually written with this in consideration and have appropriate holes for custom functionality to be patched in. In XML, for instance, we have PIs on the syntax level and namespaces on the semantics level. CSS is the prime example here with so many holes specifically there for extensions that you can extend it pretty much to do whatever you want. ECMAScript, XML, HTML, HTTP and many other web or non-web technologies have similar places where you can insert proprietary functionality in non-breaking ways. -- 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-19-2008 07:31)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »