View Single Post
Old 10-07-2014, 05:36 PM   #1
JaniceGF
Junior Member
JaniceGF began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2014
Device: nexus 7
Centering a picture

Hi,
I have a docx file which I have imported into Calibre. There are glifs in it, between sections, and Calibre treats them like text instead of pictures. As a result, the picture is left justified instead of centered on the page. I have tried to change the css without success. Can someone tell me how to do that?

<p class="block_8"><img src="images/image1.png" alt="Stag_Head_clip_art_small" class="calibre4"/></p>

is what Calibre has written.

BLock_8

.block_8 {
display: block;
font-family: "Times New Roman", serif;
font-size: 1.125em;
line-height: 1.5;
text-align: center;
text-indent: 36pt;
padding: 0;
margin: 6pt 0 0
}

Inherited
calibre {
color: black;
display: block;
font-family: "Arial", sans-serif;
font-size: 1em;
padding-left: 0;
padding-right: 0;
margin: 0 5pt
}

Thanks
JaniceGF is offline   Reply With Quote