* vanjurs wrote: >I have an SVG window on my screen that allows 800 x 600 viewing area.
Could you clarify what you consider an "SVG window"? You can set various attributes on the <svg> element, like viewBox, preserveAspectRatio, and width, to control the sizing of the image; you can set them so that the image will be scaled to fit the viewing area, for example, see http://www.w3.org/TR/SVG11/struct.html#SVGElement for the details. There is no need to use scripting for this purpose, un- less for some restrictions imposed by your "SVG window". >Also, how do I center an SVG image in the viewing window? http://www.w3.org/TR/SVG11/coords.html#PreserveAspectRatioAttribute is perhaps what you are looking for, though I am not sure what it means to center the image in the viewing window, in this context. -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ ----- 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/

