title: What is the perfect way to detect a tablet?
body: <p>I am looking for the perfect way to detect tablets. With media queries you can set min- and max-widths for specific CSS. But there are tablets that have higher resolutions than soms desktop monitors. So that will give a conflict.</p>
  
  <p>With Javascript (Modernizr, Detectivizr) tablets are recognized and sets this in the HTML with a class 'tablet' on the HTML tag. But... Not all users have Javascript enabled.</p>
  
  <p>So what you want is (in my opinion) use CSS to detect tablets. Does anyone know the perfect solution for this?</p>
  
  <p>Thanx in advance!</p>