On 30 Jan, 14:50, "Charles A. Landemaine" <landema...@gmail.com>
wrote:
> How can I differenciate rules for IE7?
Use conditional comments. Although they're an ugly M$oft hack, they
degrade nicely on real browsers. Just make sure you're always testing
that something _is_ M$oft, not that it isn't (so the fallback works
right).
<!--[if IE]>
<style type="text/css" >
body {
font-size: 85%;
}
</style>
<![endif]-->
There are similar constructs for IE7 etc.
Charles A. Landemaine - 30 Jan 2007 17:51 GMT
Thanks! This worked!
Incredible... Anyway, I'm going to bookmark this :)