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...

http://tinyurl.com/2noxud

Any help greatly appreciated!

---------------
http://www.nidesigners.com

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2007-05-22 21:41

themes/{yourtheme}/templates/theme.tpl

 
pothound

Joined: 2007-12-26
Posts: 22
Posted: Thu, 2007-12-27 21:39

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!

 
pothound

Joined: 2007-12-26
Posts: 22
Posted: Fri, 2007-12-28 14:53

found the solution. i have to have the conditional comments in an external style sheet. works fine now.