24 ways to impress your friends

Jump to menu

Vote up?

Rich Rich Man

I’ve never ‘hacked’ css, only ever used the child selectors to override IE attributes with Firefox ones.


#header{margin:3px 0 5px 10px;}

html>body #header{margin-top:5px;}

1st is IE, 2nd Firefox.

If IE7 supports child selectors, it looks like I’m in > trouble.