Test What Browser and Apply CSS Repsectively

etangins

Member
Is there a way I could test what browser the user is running. If they are running chrome, apply a certain height in a css stylesheet and if they are running any other browser, apply a different height in a css stylesheet. I notice my website looks different in chrome.
 

ronaldroe

Super Moderator
Staff member
If your code is written properly, you should only maybe have problems with IE8 and below.

To answer your question, yes it can be done, but in this case, its not the answer to the problem.
 
Top