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.3.1 : Friday, 8 March 2013 15:54:25 GMT