- 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>
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> <STYLE type="text/css"> <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> </STYLE> <p class="off">End example.</p> </div>
Received on Thursday, 19 July 2001 04:25:02 UTC