Thread: <svg> to <img>
View Single Post
Old 02-14-2012, 08:45 PM   #2
Keroberos
Zealot
Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.
 
Keroberos's Avatar
 
Posts: 127
Karma: 194002
Join Date: Aug 2009
Device: Kobo Mini (4GB), Nook Classic wi-fi, iPod Touch (Bluefire Reader)
You need to center the image using CSS. I would do something like this,
Code:
<div class="center"><img src="images/cover.jpg" height="800" width="600" /></div>
in your XHTML.

And this,
Code:
.center {
	text-align:center;
	}
in your CSS.
Keroberos is offline   Reply With Quote