Quote:
Originally Posted by Turtle91
Uggghh.... I was hoping to stay away from SVG...I haven't figured it out yet, and when I learned that HTML5 can use the <canvas> tag, I was hoping I didn't have to. Do you know any SVG tutorial sites off hand?
|
Here is SVG code for you to play with...
Code:
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 482 775" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="775" width="482" xlink:href="../Images/cover.jpeg"></image>
</svg>
</div>
You'll need to change the href and the numbers to match your image. Also, you might need a class for the div that has no margins.