W3C home > Mailing lists > Public > www-svg@w3.org > September 2006

Question about inserting text in to rectangle

From: Meir Galperin <meir@cell-guide.com>
Date: Tue, 19 Sep 2006 09:28:45 +0200
Message-ID: <07F018F5FDD3874CA1C7034BE78D05FB458D3A@dc1.plsg.com>
To: <www-svg@w3.org>

Hello.

I would like to ask question about writing text into rectangle.
Is it possible that full inserted text will be insert in to rectangle automatically?
It means that full inserted text automatically will be divided in to lines and inserted in to rectangle.
What have I change in the example for inserting all text into rectangle?


<g transform="translate(400 300 ) "> 
		<rect x="0" y="0" width="200" height="100" fill="lightblue" stroke="blue" stroke-width="1"/> 
 		<text x="100" y="50" text-anchor="middle" pointer-events="none">One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three One two three </text>
 </g>

Thank in advance.
Meir Galperin
Received on Tuesday, 19 September 2006 11:15:12 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:35 GMT