Conditional Stylesheets
barrymcgee
Joined: 2007-05-10
Posts: 8 |
Posted: Sun, 2007-05-13 22:49 |
Hi all, I need to find where I can put a conditional stylesheet comment in for IE? I'm using the galleryindex.php method that was posted in another forum and as you can see it looks fine in Firefox but is a mess in IE... Any help greatly appreciated! --------------- |
|
Posts: 8601
themes/{yourtheme}/templates/theme.tpl
Posts: 22
Hi...
Having the same problem. But I can not make it work....
My conditional comments look like:
<!--[if IE]>
<style type="text/css" media="screen">
body {
behavior: url(club_css/csshover.htc);
font-size: 100%;
}
#menu ul li {float: left; width: 100%;}
#menu ul li a {height: 1%;}
#menu a, #menu h2, #menu a.top {
font: bold 0.8em/1.4em arial, helvetica, sans-serif;
}
</style>
<![endif]-->
and as soon as I add that to my tpl-file the screen goes white.... please help...
thanks a mill!
Posts: 22
found the solution. i have to have the conditional comments in an external style sheet. works fine now.