[dokuwiki] Re: different Stylesheets with Conditional Comments

Hi Myron!

Myron Turner schrieb:
> If you are concerned with an additional access to the server, since we
> are using PHP, why don't you include additional CSS for IE in a
> conditional php section:
>
> <?php
> if(preg_match('/MSIE/',$_SERVER['HTTP_USER_AGENT'])) {
>   echo '<STYLE type="text/css">';
> /*  place additional css here */
>     echo '</STYLE >';
> }
>
> ?>
>
> Just make sure this comes after the stylesheets have been loaded.
>
I don't wanna use the HTTP_USER_AGENT because it's not reliable in
contrast to Conditional Comments.

Gunther

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: