title: Formatting a table in CSS
body: <p>I have my html table, and I want to specify the height of each cell, the font, the font colour and well various things... before I was getting around it with inline styles but I want to put it into my CSS but can't do it! I have added a class name and referenced in correctly but for some reason no attributes of the table will talk to the CSS. This is the only page element with this problem:</p>
  
  <pre><code>echo "&lt;table class='blogtable'&gt;&lt;tr&gt;";
  
      echo "&lt;/tr&gt;\n";
  
  while($row = mysql_fetch_assoc($result))
  {
  
      $usn1 = $row['username'];
      $tml1 = $row['timeleft'];
      $bge1 = $row['blogentry'];
      $bge2 = substr($bge1,0,50);
      $tml2 = substr($tml1,0,11);
  
      echo "&lt;tr class='blogrow'&gt;";
  
  
  
          echo "&lt;td class='bloglink'&gt;";
          echo "&lt;a class='bloglink' href='blog.php' &gt;".$bge2."...&lt;/a&gt;";
          echo "&lt;/td&gt;";
          echo "&lt;td class='blogunderline'&gt;";
          echo "By";
          echo "&lt;/td&gt;";
          echo "&lt;td class='blogunderline'&gt;";
          echo $usn1;
          echo "&lt;/td&gt;";
          echo "&lt;td class='blogunderline'&gt;";
          echo " - ";
          echo "&lt;td class='blogunderline'&gt;";
          echo $tml2;
          echo "&lt;/td&gt;";
  
  
  
      echo "&lt;/tr&gt;";
  }
  echo "&lt;/table&gt;";
  
  
  
  a.bloglink{
      color: #696969;
      text-decoration: none;
  
  }
  
  table.blogtable{
  
      font-family: arial; 
      color:#696969; 
      font-size: 11pt; 
      line-height: 28px;
  }
  
  td.blogunderline{
  
      border-bottom-style:dotted; 
      border-width: 0.5px;
  
  }
  </code></pre>
  
  <p>but the html says.... no thank you!</p>
  
  <pre><code>tr.blogrow{
       border-bottom:solid 0.5px; 
       text-decoration:none;
  
  }
  </code></pre>
  
  <p>edit: I am embarrassed to say but I had two CSS files open, one on the home server and one on the hdd, I was editing the wrong one! sorry for the trouble!</p>