Thread: Images!
View Single Post
Old 07-04-2011, 02:14 PM   #2
shall1028
Zealot
shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40
 
shall1028's Avatar
 
Posts: 147
Karma: 73978
Join Date: Jun 2010
Device: Kobo
How about something like the following:

Code:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Mystery of a Hansom Cab</title>
</head>

<body>
  <div>
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="738" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 470 738" width="470">
      <image height="738" width="470" xlink:href="../Images/hansom-cab.jpg"></image>
    </svg>
  </div>
</body>
</html>
Note: the small x in "xMidYMid" is not a typo.
shall1028 is offline   Reply With Quote