--- In svg-developers@yahoogroups.com, Omar Abo-Namous
<[EMAIL PROTECTED]> wrote:

> i'm trying to position some elemnts relative to the svg-window. I want 
> to display some buttons on the far side of a window. I thought i could 
> just do this:
> 
> <path d="M 92%,2% 98%,2% 95%,4%" />
> 
> for a triangle in the upper right corner facing down. But apparently 
> this is not possible - is it? I even tried to translate some elements, 
> but that won't work with percentage either!

It could help to use a viewBox e.g.

  <svg xmlns="http://www.w3.org/2000/svg";
       width="100%" height="100%"
       viewBox="0 0 1000 1000">

then choose your coordinates relative to that viewBox e.g
 
     <path d="M 920,2 980,2 950,10" fill="green" />
  





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