Log in

View Full Version : CSS for different browsers



Cotec
07-25-2010, 06:37 PM
This might be asimple answer, or complicated. I was wondering how you set your CSS template to be different for different browsers?

I was mainly wondering for my site Seedspace (http://www.seedspace.org) and having it compatible for smart phones.

Thanks,
Isaac

FrickenTrevor
07-28-2010, 03:55 AM
If you want your CSS to work on smart phones, put this in your CSS link:

media="screen"
It should look like

<link rel="stylesheet" href="your-styles.css" media="screen"/>




BUT some smartphones tend to ignore that. If thats the case use:

media="handheld"
Which looks like:

<link rel="stylesheet" href="your-styles.css" media="handheld"/>