[dokuwiki] Re: different Stylesheets with Conditional Comments

  • From: Gunther Pilz <dokuwiki@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 19 Aug 2007 17:02:44 +0200

Hello,

here some additional thoughts/ ideas.
What I want to achieve is something like this:

    |*<!--[if lte IE 7]>*
    **|

    <link rel="stylesheet" media="all" type="text/css" 
href="/.../lib/exe/css.php?s=ie_only" />

    |*<![endif]-->
    *|

Probably the best (easiest) way is to modify the
css_out() function in lib/exe/css.php!?

BTW: This should not be an universal usable patch/ plugin/ template
but rather a special thing only for my current DW installation.

Although I'm very much of the opinion, that a general change of the
default layout of DW to a multicolumn (at least a two-column) layout
would be very reasonable!
And therefor the possibility of using Conditional Comments would make a
lot of sence.

But for now, I would like to ask for help to adopt the css_out function
to my needs!

Thanks in advance!

Greetings
Gunther|**|
|**|

Gunther Pilz schrieb:
> Hello!
>
> I'd like to write my own template for DW. Though it should be a
> multi.column layout, I have to use different stylesheets for standard
> compliant browsers and the IEs. Normaly I do this by using Conditional
> Comments, which prevent the IEs from loading the standard styles and let
> them load only their version specific stylesheet.
>
> Is the use of Conditional Comments possible? And when yes, how?
>
> I also posted a thread in the DokuWiki User Forum under the German
> discussion subforum. You can find it here:
> http://forum.dokuwiki.org/thread/1177
>
> Thanks for your help.
>
> Greetings
> Gunther
>   

Other related posts: