View Single Post
Old 02-20-2013, 09:06 PM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,565
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by Turtle91 View Post
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.
JSWolf is online now   Reply With Quote