Re: [CSS-TECHS]

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 UTC