title: How to detect a browser using jQuery?
body: <p>I have an issue with a css which is implement by the jQuery, css is work fine in mozilla but not in chrome so need to make a changes in css according to the browser BUT in JQUERY</p>
  
  <p>Anyone help me to get the browser whether it is firefox,chrome or any other.</p>
  
  <pre><code> if ($browserFirefox) {
      ....code 
      $('#test').css("margin-top","10%");
   }
   if ($browserChorme) {
     code goes here
   }
   if ($browserXYZ) {
     code goes here
   }
  </code></pre>