W3C home > Mailing lists > Public > public-webcgm-wg@w3.org > September 2008

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

From: Thierry Michel <tmichel@w3.org>
Date: Mon, 08 Sep 2008 10:05:49 +0200
Message-ID: <48C4DCDD.5010600@w3.org>
To: Lofton Henderson <lofton@rockynet.com>, WebCGM WG <public-webcgm-wg@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 September 2008 08:06:34 GMT