Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mikeash
· 14y ago · 0 comments
Not JSON, but here's a truly horrible example of Internet Explorer using specially formed comments to take different actions:
http://www.quirksmode.org/css/condcom.html
Comments
[–]
devicenull
14y ago
They really aren't that bad, definitely very handy for injecting IE specific stylesheets, without having to rely on javascript.
[–]
mikeash
OP
14y ago
I'm sure they're handy, but just crashingly inelegant.
[–]
chris_wot
14y ago
Not to mention that the only reason for needing IE specific stylesheets is because IE doesn't follow CSS standards properly!!!
[–]
chris_wot
14y ago
Uh... this was downvoted because? Certainly not because it's wrong.