--- In svg-developers@yahoogroups.com, "Hago Ziegler" <[EMAIL PROTECTED]> wrote:
> I just had to remove the size definitions - width and height - and
> leave just the viewBox in the same size.

Simply removing size definitions seems a bit risky as I'm not sure if
this is the default behavior defined in the specification.

I suggest setting in the top level "svg" element:

width="100%" height="100%" preserveAspectRatio="xMidYMid meet"

This will resize the SVG to whatever the object/embed size is. To use
the whole visible area, simply set the width/height to "100%" in the
object/embed too. Also, this approach is SVG 1.2 compliant (where
percent units are accepted only in the top level "svg" element).

Regards,

  Helder Magalhães



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

Reply via email to