Re: update Re: in-line "new" styling

Lofton Henderson wrote:
> Thierry,
> 
> It is possible to find Valid markup, based on <span>:
> http://www.w3.org/Graphics/WebCGM/drafts/highlight-test/WebCGM21-DOM-2nd.html#L5095 
> 
> 
> (I had to tag each line individually.   Else they overlapped and 
> obscured each other if I tagged 6 lines with one <span>.)


tag each line individually with <span>, the rendering is not too elegant.

I would suggest following code:

<td>
  <pre>interface WebCGMAppStructure
       ...
  </pre>

  <div class="new21">
   <pre>WebCGMRect   getObjectExtent();
        ...
   </pre>
  </div>
</td>

see
http://www.w3.org/Graphics/WebCGM/drafts/highlight-test/WebCGM21-DOM-3nd.html#L5095

which does validate.


TM.

Received on Monday, 8 September 2008 08:06:34 UTC