title: The name 'media' does not exist in the current context
body: <p>In an ASP.NET MVC 3 razor view, I have the code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
   &lt;style type="text/css"&gt;
      @media print
      {
      table { page-break-inside:auto; width: 100%; }
      tr    { page-break-inside:avoid; page-break-after:auto }
      thead { display:table-header-group }
      tfoot { display:table-footer-group }
      }
   &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;table&gt;
  </code></pre>
  
  <p>However I got the error:</p>
  
  <pre><code>The name 'media' does not exist in the current context.
  </code></pre>
  
  <p>Thanks.</p>