Hi Holger Thank You for the answer. It was very helpfult. Just a couple of more questions. 1) In the same code
<path id="attract" style="fill:none" d="M 177,235 C 160,235 160,115 180,115 "/> <text style="fill:white;font-size:25 ;font-family:Verdana;font-weight:bold"> <textPath startOffset="50%" style = "text-anchor:middle" xlink:href="#attract"> ATTRACT </textPath> </text> If u see now I am able to place the text "Attract" in teh center of the curve. So now this string will not be hardcoded and it will be a parameter that we will be passing during runtime. So is it possible to find if the string exceeds the length of the curve and if so autofit the string within teh curve. Also can I have multilingual strings displayed. 2) Regarding my question on zooming the image only horizontally and not vertically ur answer was to use preserveaspectratio=none. Can I get a code snippet of how this is done programmatically. Thanks in advance ganesh Holger Will <[EMAIL PROTECTED]> wrote: Hi Ganesh you asked that question yesterday, and it was already answerd, just in case you missed the answer: http://groups.yahoo.com/group/svg-developers/message/49206 Holger > Hi > > 1) I have the following piece of code in my svg > > <path id="attract" style="fill:none" d="M 177,235 C 160,235 > 160,115 180,115"/> > <text style="fill:white;font-size:25 > ;font-family:Verdana;font-weight:bold"> > <textPath xlink:href="#attract"> > ATTRACT > </textPath> > </text> > > Now I would like to align the text 'ATTRACT' in the center of the > curve. I'm not able to achieve this using text-anchor:middle. Please help > > 2) I would like to zoom my svg image programmatically. I know it can > done. But my zooming requires that the width alone be increased and > the height remains constant. How can I do it. > > With regards > ganesh > ----- 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 the Yahoo! Terms of Service. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed] ----- 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/