sent1729 schrieb:

> I have a basic svg question
>
> These are the two svg files that I display on squiggle browser.
>
> <svg width = "10" height = "50" viewBox = "20 1000 100 2600"
> preserveAspectRatio="none">
> <rect x="20" y="1000" width="100" height="2600" fill="yellow"
> stroke="blue"
> stroke-width="1"/>
> <polyline points="30 1000,40 2000,50 3000" style="stroke:black;
> fill:none;stroke-width:1;"/>
> </svg>
>
>
> <svg width = "300" height = "200" viewBox = "20 1000 100 2600"
> preserveAspectRatio="none">
> <rect x="20" y="1000" width="100" height="2600" fill="yellow"
> stroke="blue"
> stroke-width="1"/>
> <polyline points="30 1000,40 2000,50 3000" style="stroke:black;
> fill:none;stroke-width:1;"/>
> </svg>
>
> The only difference between the first and the second file is that the
> svg width and height are different. but this difference does not seem
> to impact the graphic that is displayed on the screen.
>
> My question is if the difference does not seem to impact the view of
> the graphic content, then what is the purpose of the width and height
> attributes?
>
> Thanks for any input.
>
> Nathan.

Hi Nathan

this works for me in Batik Squiggle, the effect is that the width and 
height attribute changes the size of squiggles window, this is what i 
had expected.

hth
Holger




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hpt3bfa/M=362131.6882499.7825260.1510227/D=groups/S=1706030389:TM/Y=YAHOO/EXP=1122643274/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

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