W3C home > Mailing lists > Public > spec-prod@w3.org > July to September 2001

Indenting with blockquote

From: Hugo Haas <hugo@w3.org>
Date: Mon, 24 Sep 2001 17:33:20 -0400
To: spec-prod@w3.org
Message-ID: <20010924173319.F1196@jibboom.w3.org>
I noticed in the spec-prod style sheet[1]:

  <!-- slist: simple list -->
  <!-- using a <blockquote> to indent the list is very wrong, but it
       works -->
  <xsl:template match="slist">
    <blockquote>
      <p>
        <xsl:apply-templates/>
      </p>
    </blockquote>
  </xsl:template>

Why doesn't the style sheet use padding-left[2]? As noted, using a
<blockquote> to indent the list is very wrong, and it seems wrong to
me to produce technical documents with this trick (such as [3]).

Regards,

Hugo

  1. http://dev.w3.org/cvsweb/spec-prod/html/xmlspec.xsl?rev=1.12&content-type=text/plain
  2. http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-padding-left
  3. http://www.w3.org/TR/2001/WD-xforms-20010828/index-all.html
-- 
Hugo Haas - W3C
mailto:hugo@w3.org - http://www.w3.org/People/Hugo/ - tel:+1-617-452-2092
Received on Monday, 24 September 2001 17:33:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:11 GMT