How to call specific css for specific browser using jquery
3 answers
JQuery-specific browser coding documentation.
I'm not sure what you mean by specific css, but here is an example of getting the browser and then using CSS selectors to show those classes.
if(jQuery.browser.msie) {
$('.myspecificcssclass').show();
}
You usually don't need to do this, but ...
+1
a source to share
This is what you are looking for: CSS Browser Detection with jQuery
<code>
#myInput{background:black;} .browserSafari
#myInput{background:black; position:relative; top:2px;}
</code>
//example calls specific css for Safari:
0
a source to share
it was no longer executed by browser sniffing in jQuery 1.3+, but thanks to support it has a few things like W3C box model support, ect.
see - jQuery.support for further reading on this subject in the API.
0
a source to share