I am wondering if there is any thing which works like ie conditional comment for webkit.
I want to change width.
For example,
<!--[if IE]>
<link href="css/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, there are not.
You can hack it by doing browser detection in JS and attaching scripts/styles dynamically.
Or, if you are concerned only with having different css for different browsers, you can use css hacks. There are probably css hacks that work with the browsers you need.
Or, if the only thing you need to change is ‘width’ (of one css definition?) you can probably do it in jquery or javascript
jquery browser detection. see:
http://docs.jquery.com/Utilities/jQuery.browser