View Single Post
Old 02-17-2010, 12:20 PM   #1
LARdT
The LARdT of E-Books
LARdT began at the beginning.
 
LARdT's Avatar
 
Posts: 106
Karma: 46
Join Date: Dec 2009
Device: HANLIN V3ext (Papyre 6.1)
Additional CSS for conversion

I have a .doc template I use to preformat the text before conversion.
If I apply to a paragraph an style called "DramatisPersona", that becomes a CSS style in the ePUB after the conversion.

If I have an additional CSS style with the same name, shouldn't it be applied to the CSS IN THE ePUB file?

This is the code in Addtional CSS:
Code:
.AUTHOR {
display: block;
font-family: "Gunther Calligraphic";
font-size: 1.33333em;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 1em;
text-align: center;
text-indent: 0;
font-weight: bolder;
text-shadow: auto
}
But this is the code I get in the ePUB file:
Code:
.AUTHOR {
    display: block;
    font-family: Arial;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 6pt;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    text-align: center;
    text-indent: 7.2pt;
    text-shadow: auto
    }

Shouldn't both be equal? The code in ePUB file should be the same as in the "additional CSS" conversion option?
LARdT is offline   Reply With Quote