CSS Hack IE6
- Started
- Last post
- 9 Responses
- lobstarr
Anyone know a hack that hides a css attribute from IE6?
- omgitsacamera0
I think you would have to use different stylesheets for different browsers.
- pylon0
Separate stylesheet is better way to go....
Google is your friend; search for 'Conditional CSS' or 'Browser Specific CSS' or similar.
www.alistapart.com may also have articles of use.
What are you specifically trying to do?
- lobstarr0
was gonna be a longshot but i know IE 6 doesnt support ":hover" for any other elements but "a", in all cases image rollovers will be "a".
was trying to get rollover images to work.
thanks for the help though, much appreciated!!
- pylon0
javascript?
- allworknosleep0
Definitely seperate style sheets..
<!--[if lt IE 7]>
<link href="/_site/css/ie_global.css" media="all" rel="stylesheet" />
<![endif]-->
<!--[if gte IE 7]>
<link href="/_site/css/ie7_global.css" media="all" rel="stylesheet" />
<![endif]-->
- 4hero0
* html * {display:none}
- modern0
#content {
display:none;
}#fuckingCuntAlert {
display:block;
font-size: 300px;
color:#ff00ff;
}