Link to home
Start Free TrialLog in
Avatar of Simon336697
Simon336697Flag for Australia

asked on

Using a different stylesheet depending on browser

Hi guys hope u r well and can help.
Id like to be able to select a different stylesheet css file to use depending on what browser the client is using. In particular,
If the user is using IE, then use fileIE.css
If the user is using Firefox, the use fileFF.css

Just wondering how you would do this in html and php.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
<!--[if FF]>
<link href="firefox.css" rel="stylesheet" type="text/css"/>
<![endif]-->
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial