W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2001

Re: [CSS-TECHS]

From: Charles McCathieNevile <charles@w3.org>
Date: Thu, 19 Jul 2001 04:24:58 -0400 (EDT)
To: Jo Miller <jo@bendingline.com>
cc: Wendy A Chisholm <wendy@w3.org>, <w3c-wai-gl@w3.org>
Message-ID: <Pine.LNX.4.30.0107190424040.31639-100000@tux.w3.org>
Please include code fragments as a code element, as per the specification of
HTML.

Charles

On Wed, 18 Jul 2001, Jo Miller wrote:

  I don't think there's a need for a new style, unless you want one. If
  we just leave off the <PRE> and add breaks between the lines then the
  html/css examples will wrap to fit inside the 75% boxes at any screen
  resolution. So for instance:

  <div class="css-example">
  <p><strong>Example.</strong></p>
  &lt;STYLE type="text/css"&gt; <br>
      P.important { font-weight: bold } <br>
      P.less-important { font-weight: lighter; font-size: smaller } <br>
      H2.subsection { font-family: Helvetica, sans-serif } <br>
  &lt;/STYLE&gt;

  <p class="off">End example.</p>
  </div>
Received on Thursday, 19 July 2001 04:25:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:11 GMT