Have you considered just using a simple table?
<table>
<thead>
<tr>
<th scope="col">Concept</th>
<th scope="col">PHP</th>
<th scope="col">Perl</th>
<!-- etc, etc -->
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Regular expression match</th>
<td><code>preg_match('/expression/', $string, $matches)</code></td>
<td><code>$string =~ /expression/</code> (matches in $1, $2, etc)
</td>
</tr>
<tr>
<th scope="row">Regular expression replace</th>
<td><code>$string = preg_match('/expression/', $replacement,
$string)</code></td>
<td><code>$string =~ s/expression/replacement/;</code></td>
</tr>
<!-- etc, etc -->
</tbody>
</table>
Maybe with some class attributes on the <code> elements.
--
Toby A Inkster
<mailto:[email protected]>
<http://tobyinkster.co.uk>
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss