> Vaska.WSG

> I've  
> done all of this in php without code or pre.

CODE is still the semantically correct element to wrap around this
type of content, though...

> What I'm doing is meant purely for presentation...it's a fast 
> way for a  
> person to view a script and try to determine where a bug might live  
> (via the line number).

> <strong>1</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php<br />
> <strong>2</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
> <strong>3</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function  
> rowNumber($i)<br />

Presentational, indeed...why not something like (provided your
code always starts from line 1, as support for CSS driven
OL numbering other than the default seems a bit flaky, still)

<ol>
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php</li>
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li>
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function rowNumber($i)</li>
...
</ol>

or even (if we're a bit pedantic)

<ol>
<li><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;?php</code></li>
<li><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code></li>
<li><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function rowNumber($i)</code></li>
...
</ol>

Patrick
________________________________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to