[dokuwiki] Re: different Stylesheets with Conditional Comments
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 19 Aug 2007 16:54:29 +0100
Gunther Pilz wrote:
OK, I put this in my template. So far so good.
But that means, that the IEs first load the standard compliant css and
then *additionly* the special IE css (which also means that I have an
additional http request).
An additional HTTP request shouldn't really be a big issue, especially
as most of the time it should be a simple response that the browser can
use the copy it retrieved previously.
What I would prefer is, that IEs don't load the standard compliant css,
but *only* their special css. Which of course then have to contain all
the other css, ie. from the plugins.
So my first thought was to alter the css_out function to get two
different *complete* css files. One standard compliant and one IE
special. Then I can put this in a way in my template that each browser
only loads *one* css file.
Are you sure one CSS for standards compliant browsers and one for IEs is
enough. For me, IE7 is far closer to being standards compliant than it
is to needing to use specific IE6 (or IE5 & 5.5) styles. It supports
just about all the selectors, min-*, max-* (plus width and height
properly) and has corrected the vast majority of bugs that afflicted IE6.
Personally, this one line enables me to produce websites that are
essentially rendered identically on IE7 and compliant browsers
div, ul { zoom: 1; } The UL is typically only necessary for menus which
contain floated LIs.
-- Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] different Stylesheets with Conditional Comments
- From: Gunther Pilz
- [dokuwiki] Re: different Stylesheets with Conditional Comments
- From: Gunther Pilz
- [dokuwiki] Re: different Stylesheets with Conditional Comments
- From: Andreas Gohr
- [dokuwiki] Re: different Stylesheets with Conditional Comments
- From: Gunther Pilz
Other related posts:
- » [dokuwiki] different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
- » [dokuwiki] Re: different Stylesheets with Conditional Comments
OK, I put this in my template. So far so good. But that means, that the IEs first load the standard compliant css and then *additionly* the special IE css (which also means that I have an additional http request).
What I would prefer is, that IEs don't load the standard compliant css, but *only* their special css. Which of course then have to contain all the other css, ie. from the plugins. So my first thought was to alter the css_out function to get two different *complete* css files. One standard compliant and one IE special. Then I can put this in a way in my template that each browser only loads *one* css file.
- [dokuwiki] different Stylesheets with Conditional Comments
- From: Gunther Pilz
- [dokuwiki] Re: different Stylesheets with Conditional Comments
- From: Gunther Pilz
- [dokuwiki] Re: different Stylesheets with Conditional Comments
- From: Andreas Gohr
- [dokuwiki] Re: different Stylesheets with Conditional Comments
- From: Gunther Pilz