How to detect the current browser -


question: is there easy way detect browser of user ?

details: change for example value of background-color of body. i've see <!--[if !ie]>.

edit:

okay, agree, browser detect bad (link taken @tylerh), , should not used. thank take note. , if still want use them, i've found website list of browser detection hack.

i think there no way html or css (i don't hacks). check user agent string js.

see here: how make css visible opera


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -