[dokuwiki] Re: different Stylesheets with Conditional Comments

Gunther Pilz wrote:

And as I wrote already in reply to Andis mail, by this way I'll get
another http request and increase traffic, because IEs then have to load
2 css files, where one isn't needed at all. This is what I want to avoid
(if possible).

I do not understand. Even with conditional comments, you should still be serving at least *two* css files. Or what would you do with the other browsers??

IE only, so the only styles are template styles, which again points to
you referencing the CSS file directly in the template.
That's maybe a reason why there are so few multicolumn layouts for DW.

What has a multi-column layout to do with Conditional Comments??

layouts for DW. My opinion is that the default layout of DW isn't
up-to-date anymore. Most of the users have viewport sizes >= 1.000px,
which means that a full width single-column layout isn't very much
userfriendly, because line-length is much to great. And putting a

Almost every effective DW installation I know uses at least a two-column
layout, for presenting their users such usefull things like a navigation
or other interesting informations beside the main content.

The point of having more than one column in the default template has been discussed earlier in this list. The main reason of that discussion why *not* to add a possibility of a two-or-more-column layout for me was: Then all template developers have to provide all possible layouts!

I agree that most users like a two-or-more-column layout and that it makes more sense in many environments. But I disagree to change the default layout. There are many two-or-more-column DokuWiki templates out there. And a few of them are really good, too.

To come to the original point:
I am not at all against providing the possibility of adding conditional comments.
But I am not sure it is worth the effort, because:

1. You should never code your css for a particular browser. Although, we all know, that this sounds good in theory, but that IE always needed special attendance (if you cared for your users). Even DokuWiki's default css is written for two browsers: IE and "the rest". 2. There are other workarounds (IE6: "* html", IE7: "*+html"). Admittedly, conditional comments are more future-proof. 3. IE is getting better. (Yes!) In the not-too-far-away future we might not need to use any "special attendances" any more ...


Anika

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

Other related posts: