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

Re: First experience with SVG

From: Francis Hemsher <fhemsher@gmail.com>
Date: Wed, 20 Jun 2012 15:24:41 -0400
Message-ID: <CAFm2N+sgfSisYJh6UovTtv951mWSPBEoKrVMpM90FrHxboZ5-Q@mail.gmail.com>
To: Dimitrios Apostolou <jimis@gmx.net>
Cc: www-svg <www-svg@w3.org>
On Tue, Jun 19, 2012 at 6:56 PM, Dimitrios Apostolou <jimis@gmx.net> wrote:

> I needed to write some text within <rect>. There was absolutely no way to
> display any tag within the <rect>. I tried applying various CSS styles on a
> <title> I had into the rect but it would never show (what I was expecting
> was that it would show anywhere I wanted on the page after setting
> "display:block;position:absolute").

Hi Dimitris,
If you are using SVG inline, within an HTML5 document, then svg is
mostly seamless within the document. Therefore you should be able to
overlay <div> and <span> with innerText and CSS styles applied.
Francis Hemsher.
Received on Wednesday, 20 June 2012 19:25:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:28 UTC