Hi David,

On 10-08-12 02:45 PM, David Bellot wrote:
>
> So apparently there are no solution to what I want to do.
> It means I will have to "manually" copy the widths and heights into 
> each svg
> element in my file.
> For the context, each svg element contains the representation of a 
> card, and
> all those svg elements make a deck of cards. Why an svg elements and not a
> group <g> ? Because I can then define position of everything inside with
> percentage.
>
 From look at your application, it's not clear to me why you need to 
define all positions in terms of a percentage.

>
> In my case, let's try to turn the problem upside-down:
>
> if I have a <svg> element, can I force it's size to be the one of an 
> object
> it contains ? For example I put a rectangle inside a <svg> as my first
> element, can the dimensions of <svg> forced to be the dimensions of this
> <rect>
>
You could do this with a script, but again, I don't understand why you 
want to do this. What is the end goal that you would like to accomplish?

Jake


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

<*> 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:
    [email protected] 
    [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/

Reply via email to