[pmwiki-users] IE CSS Compatability (cont)

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 6 16:47:39 CDT 2007


On Fri, Jul 06, 2007 at 10:27:21PM +0100, Christian wrote:
> i have put
> 
> $HTMLHeaderFmt['ie'] =
>       '<!--[if gte IE 6]
>         <link rel="stylesheet" type="text/css" 
> href="/pub/skins/flexi/ie_flexi.css" />
>        <![endif]-->';
> 
> into my config.php
> 
> should this allow me to use a different css files if the browser is IE6, 
> also if i put just IE will it work with any version of IE?

You appear to be missing the closing angle bracket of

    <!--[if gte IE 6]>

I generally use simply

    <!--[if IE]>

in order to provide IE-specific content.

Pm



More information about the pmwiki-users mailing list