View Single Post
Old 07-26-2011, 06:34 PM   #4
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Quote:
Originally Posted by charleski View Post
Check that you don't have something like
p {
...
text-align: left;
...
}
in your css, since that will override the attribute in the div.

To fix the width, do something like:
p.caption {
font-family: "Arial", sans-serif;
line-height: 1em;
font-size: 0.68em;
margin: 0.3em 15%;
}

.img {
width: 70%
}

with <img src="images/2_06.jpg" class="img" alt="2_06.jpg" />
Thanks! that did it, all I needed was the
Quote:
margin: 0.3em 15%;
SamL is offline   Reply With Quote