title: Add colgroup for each table column
body: <p>There are probably other similar posts, but here goes nothing.</p>
  
  <p>I am currently reworking on an existing site and some of the changes required involves column and row highlighting, like here (<a href="http://css-tricks.com/row-and-column-highlighting/" rel="nofollow">tutorial</a> / <a href="http://css-tricks.com/examples/RowColumnHighlighting/example-one.php" rel="nofollow">demo</a>).</p>
  
  <p>Since there are several web pages to go through, I would like to have some kind of shortcut to dynamically add <code>&lt;colgroup&gt;&lt;/colgroup&gt;</code> like in the example without having to go through each page and <code>table</code> by hand.</p>
  
  <p>I've considered <code>php</code>'s <code>preg_replace</code> function, but I doubt that's the simplest way to go around it. In an optimal scenario, I would be able to verify if there is an existing <code>&lt;colgroup&gt;&lt;/colgroup&gt;</code> array for each column.</p>