Bradley Wright wrote:
> This hack has been discussed by Jon Hicks before [1]; it's invalid, 
> whereas conditional comments are not.
> 
> [1] 
> http://www.hicksdesign.co.uk/journal/providing-css-for-just-internet-explorer

And to think I'd thought I was the only person to use this for months on 
end! 2004! Tsk.

Interesting, on that page, the way it is believed to be valid for a 
short while! Surely by being intrinsically ignored by certain browsers 
and not part of the spec, it is inherently invalid?

Valid markup is fantastic, I love it. As for CSS, it is very often that 
I want to be invalid - that is to say that complex CSS as defined by the 
spec is often not, as we would hope for in a standardised world, treated 
the same way by all browsers. By understanding the failings of browsers, 
I work to create a standardised experience across browsers while not 
denying myself any of the wonders of CSS2. I respect the teachings of 
Ghandi, but without actually attacking the browser developers I don't 
mind acknowledging the disparity of CSS rendering within the CSS.

I believe we all know about conditional comments (pretty sure somebody 
gave a timely reminder this thread), although I don't like hiding 
functional markup from the DOM. It's a question of personal philosophy, 
I suppose - I like to think HTML should be human readable, but when you 
get to CSS, there is bound to be plenty of stuff which doesn't really do 
what it's supposedly for (negative margins?! 40000 padding? positions 
off the viewport?) in a complex design.

People can have a good time pulling my CSS apart and trying to figure 
out how it translates, but when it comes to browsers I will go to them 
rather than waiting for them to come to the halfway house (which 
certainly Microsoft does not wish to set up camp at).

Regards,
Barney
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to