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.





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