Re: How to mark up examples in W3C technical reports

On Sat, 27 Jan 2001, Susan Lesch wrote:

  I think SVG access is a valuable model. Instead of caption or table
  header elements you have a figure number and text caption, which make a
  border make sense. The 'strong' markup inside pre brings another
  dimension to examples. The whole effect is meaning-encrusted.

CMN: Thanks Susan <grin/>. I think the use of code elements is still
important - the rest is really a question of presentational markup.

  Eve L. Maler wrote:

  >  is background-color widely enough supported to be "safe"?
SL:
  It is unsupported in IE 3 on Macs at least. In the case above,
  body is white, and background renders in stair steps so there may be
  some use for background-color. (It shouldn't be used for example to
  reverse colors in table headers. If body was white, background-color
  was black, and text color was white, the header would be invisible.
  That might be what Eve is referring to.)

CMN: Right. Using a slightly different colour combination means that you can
get the best of both worlds - enough contrast (with the bordser and other
devices) to make the examples stand out, with enough to know that if only
some properties work the whole thing is still legible.

cheers

Chaals

Received on Monday, 29 January 2001 01:24:35 UTC