Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-02 09:48:14

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Conditional-CSS

this script might be of interest.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2009-03-05 07:35:54

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: Conditional-CSS

i actually thought that this post would be of interest to some… but… no worries:)

Last edited by colak (2009-03-05 07:37:04)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2009-03-09 22:20:24

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Conditional-CSS

I have actually downloaded it Yiannis. Just haven’t had the time to try it out yet.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#4 2009-03-10 06:59:34

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Conditional-CSS

What does it do/what is it good for, Yiannis?

Offline

#5 2009-03-10 09:47:00

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: Conditional-CSS

It’s supposed to help you serve different css for each browser.

At the moment the way we do it is to have one (or more) css with all the hacks for cross browser compatibility. This means that the whole of the stylesheet is downloaded every time someone visits. What the php script does is that it recognises the browser and serves it only the css which is for that browser. I expect that with the new safari and its webkit specific css (example) together with the moz specific rules, a script like the above would help in supplying browser specific experiences without bloating the css code.

There demo versus the original css is very impressive.

Last edited by colak (2009-03-10 09:48:58)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2009-03-10 21:10:18

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 259
Website

Re: Conditional-CSS

Thanks Yiannis: I’ll be using it…

Offline

Board footer

Powered by FluxBB