I don't think it's particularly strange given how trivial it is. Use CSS instead of a table and stick the lines in some block-level element. A stylesheet like this should be all you need:
p.even, p.odd {
margin: 0;
padding: 0.2em;
}
p.odd {
background-color: #ccc;
}
And then you stick the lines in
<p class="even">#!/usr/bin/perl</p>
<p class="odd">use strict;</p>
<p class="even">use warnings;</p>
<p class="odd"></p>
<p class="even">BEGIN {</p>
<p class="odd">    $| = 1;</p>
<p class="even">}</p>
...
Makeshifts last the longest.
|