Quote:
Originally Posted by Jellby
Simple. Wrap your image in a <div> and center it:
Code:
<div class="ornament"><img alt="" src="../Images/ornament-black.jpg" /></div>
Code:
div.ornament {
text-align: center;
margin-top: 0.38em;
margin-bottom: 0.38em;
}
div.ornament img {
width: 38%;
}
|
Y'know what? That doesn't work on the iPad. It looks right in Sigil, but when I view it on the iPad the image stretches to 100% (width of the page, and proportionally for the height). :/