title: Trying to use CSS to color negative numbers red
body: <p>I only know very basic CSS and HTML and so I watched a few tutorials on how to accomplish this but it seems I must be doing something wrong as my HTML page is not loading how it should (negative numbers as red).</p>
  
  <p>Css sheet:</p>
  
  <pre><code>    body
      {
      }
      TD[negative^="-"]:after {color:red;}
  
      table.classname td[negative^="-"]:after {color:red;}
  </code></pre>
  
  <p>HTML Sheet:</p>
  
  <pre><code>    &lt;html lang="en" xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head&gt;
      &lt;link rel="stylesheet" type="text/css" href="Stylesheet1.css"
      &lt;/head&gt;
  </code></pre>
  
  <p>Sample row from table:</p>
  
  <pre><code>    &lt;table class="classname" style="width:100%"&gt;
      &lt;td negative=&gt;-98669&lt;/td&gt;
      &lt;/table&gt;
  </code></pre>
  
  <p>Edit: My link attribute didn't have closing '>'.</p>