Mobile app version of vmapp.org
Login or Join
Welton855

: SVG images grow and create scrollbars when on the server Okay so I embedded some SVG images into my page and opened it locally on Chrome and it looked fine. I upload the same file to the

@Welton855

Posted in: #Css #Html #Javascript #Svg

Okay so I embedded some SVG images into my page and opened it locally on Chrome and it looked fine.

I upload the same file to the server and look at the page online and the SVG images have grown by maybe 5-10% and are surrounded by scroll bars like they are overflowing.

I think it probably has to do with my lack of knowledge on how SVG and Embed work. What's really puzzling me though, is that it works fine locally. (I have cache disabled.)

Help?
Thanks.

Edit: code

HTML:

<embed type="image/svg+xml" src="content/web-logo.svg"/>


There's no CSS on the image.

I'm not sure if I was just wrong before or if I changed something I'm not aware of, but it doesn't appear to be actually changing size anymore.

It just decides to stuff it into a scrollbox.

pic: www.dropbox.com/s/wt1aufi7nl1fpyi/svg-problem.png

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

1 Comments

Sorted by latest first Latest Oldest Best

 

@Rambettina238

It's probably your browser; try "CTRL -" (Control and minus sign) to zoom the page out. Post back your results, and if it needs to be looked at closer.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme