View Single Post
Old 11-14-2012, 07:55 AM   PM User | #2
Arbitrator
Senior Coder

 
Arbitrator's Avatar
 
Join Date: Mar 2006
Location: Splendora, Texas, United States of America
Posts: 2,931
Thanks: 6
Thanked 194 Times in 191 Posts
Arbitrator is on a distinguished road
Quote:
Originally Posted by johnsmith153 View Post
Basically, I want the green shape to display/fit perfectly inside the red box when I change the browser size.
Several questions need to be answered first:
  • What's the preferred initial size of the red box? So far, you've specified width: 30%;, but it's unclear how tall the red box should initially be.
  • What's the preferred initial size of the SVG image? Is it the view box size (400×200 pixels)? Is it the width or height of the red box?
  • Is it intentional that your view box is smaller than the SVG image itself (guaranteeing that the bottom of the image will be truncated)?
__________________
Please for the love of god stop making IE. You current "browser"s cause me to cry every day. —Phil *
Arbitrator is offline   Reply With Quote