I've been wanting to integrate SVG with XHTML, but it's been very difficult to get it to match stylistically. Ideally there should be some way to include SVG text in a line of HTML text and have it look seamless, right? It seems that there should be some way to do this.
I've tried something like this: <?xml version="1.0" encoding="utf-8"?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Hello, world</title> <style type="text/css"> body { font-family: 'arial'; font-size: 16px; } </style> </head> <body><p>Well, hello, world, and <svg width="79" height="16" xmlns="http://www.w3.org/2000/svg"><text x="0" y="16" font-size="16" font-family="arial">hello, world</text></svg>, and hello, world!</p> </body> </html> But when the text is resized (in Firefox), the SVG box does not scale with the text, and the text gets cut off. Including the SVG externally using an <object />, and setting the <object />'s width and height, does not fix anything. I've changed all the measurements and units in every way possible, but it doesn't seem like Firefox is capable of including SVG in a reasonable way. Any help would be appreciated. ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

