CSS howto scale object to window and keep format?

Is there a CSS method to scale an object (SVG) to say fill 100% either  
width or height whichever is smaller?
smaller may mean comparing format of image and window....

I'm facing particular problems with object where the width and height  
are specified in CSS rather than the element.
and cannot find a means to scale, that relates the window format to  
the svg format before scaling.
a square svg object allows direct comparison of window height and  
width...
and might leave a gutter, on right if window is landscape or below  
when portrait.

a javascript solution is on peepo.com

I'd like to take this to CSS if there is consensus and no current  
solution

kind regards

Jonathan Chetwynd
http://www.peepo.com


------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to