W3C home > Mailing lists > Public > www-svg@w3.org > June 2002

RE: beginner <text> question

From: Doug Schepers <doug@schepers.cc>
Date: Sun, 30 Jun 2002 04:53:41 -0400
To: "svg-mailing" <www-svg@w3.org>
Message-ID: <AMEGKJJNEDNKEEMEHFOFEEFJDFAA.doug@schepers.cc>

Hi, Ori-

Try:
<text x='50%' y='50%' style='text-anchor:middle;baseline-shift:-25%;'>String
Here</text>

HTH-
-Doug

> -----Original Message-----
> From: www-svg-request@w3.org [mailto:www-svg-request@w3.org]On Behalf Of
> Ori Burstein
> Sent: Sunday, June 30, 2002 5:06 AM
> To: svg-mailing
> Subject: beginner <text> question
>
>
>
> Hi,
> I'm trying to create an SVG which will contain a text.
> The problem is that I don't know what size will be the text, and I want to
> place it in the middle of the SVG.
> Does anyone have a suggestion?
> Thanks,
> Ori.
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002
Received on Sunday, 30 June 2002 04:51:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:51 GMT