Antoine, yes, you are right. To be more specific
I use dom.createElement(); element.appendChild() to add rect with text
within it. When user drags rect I want text element to be positioned
with respect to its parent. Can I reach that point having positioned
text element in relative mode ?
--- In svg-developers@yahoogroups.com, Antoine Quint <[EMAIL PROTECTED]> wrote:
>
> On 30 août 2006, at 14:48, Nazar wrote:
> 
> > I use DOM to add some of the elements to SVG. Currently I use
> > element.setAttribute("x", _x); to position element absolutely.
> >
> > What I am interested in is
> > how to position elements relative to its parent element ?
> 
> what do you mean "relative to its parent element". Do you mean:
> 
> <g ...>
>    <rect .../>
> </g>
> 
> where rect needs to be located relative to the <g> element?
> 
> Antoine
> -- 
> Antoine Quint — Fuchsia Design
> SVG & Client-side XML Consulting
> W3C SVG WG Invited Expert
> http://fuchsia-design.com
>







-----
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/
 


Reply via email to