Hallo Jitz, Here's a quick-and-dirty, script-free method using a filter: <svg> <filter id="textBox" height="1.5" y="-.25"> <feFlood flood-color="#ff9900" result="flood"/> <feMerge> <feMergeNode in="flood"/> <feMergeNode in="SourceGraphic"/> </feMerge> </filter> <text x="50" y="20" filter="url(#textBox)">This is a test</text> <text filter="url(#textBox)" text-anchor="middle"> <tspan x="100" y="80">This is</tspan> <tspan x="100" dy="1em">another test</tspan> </text> </svg>
Cheers, Julian -----Original Message----- From: ztij0 [mailto:[EMAIL PROTECTED] Sent: 04 March 2005 07:47 To: svg-developers@yahoogroups.com Subject: [svg-developers] Re: To create text box in SVG Thanks JKK, I wanted a simple Text box. The examples where good but I would like to get hold of a simpler code. ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/