W3C home > Mailing lists > Public > www-svg@w3.org > May 2003

Re: SVG Text Baseline

From: Clyde Stitt <clydewstitt@yahoo.com>
Date: Sat, 31 May 2003 14:07:21 -0700
To: <www-svg@w3.org>
Message-ID: <LAEBKDFEOBFDJBJJFGNNOEDOCAAA.clydewstitt@yahoo.com>

The only way I've found to do this is to use the tspan element and
baseline-shift property.

      <text x="{$x}" y="{$y}" style="text-anchor:left; font-size:3">
        <tspan style="baseline-shift:-100%;">Root Node</tspan>
      </text>

Clyde W. Stitt
clydewstitt@yahoo.com
Received on Saturday, 31 May 2003 17:11:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 September 2006 18:11:22 GMT