Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
misterbwong
on Oct 19, 2009
|
parent
|
context
|
favorite
| on:
Proposal: Hack Free CSS with the @unsupported Dire...
This is what I've been doing and it has worked relatively well.
<!--[if lte IE 7]> <body class="ie67"> <![endif]--> <!--[if !IE]>--> <body> <!--<![endif]-->
This allows me to target IE6/7 with the .ie67 class
jamesbritt
on Oct 19, 2009
[–]
How do you validate your markup like that?
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: