View Single Post
Old 01-16-2011, 12:26 PM   #13
alanjay
Member
alanjay began at the beginning.
 
Posts: 16
Karma: 42
Join Date: Oct 2010
Device: kindle
Jackie - thanks for the very kind offer - if it is OK I will PM the details to you as there are (as often the way copyright issues). I have been playing this afternoon and seem to have got some of the way to create something that I think almost does the job. Just about to read my results but the CSS so far is:

Code:
body { 
font-family: "Courier 
New", Monospace; 
} 
p.action { 
text-align: left;
margin-left: 0px; 
margin-right: 0px; 
} 
p.character { 
text-align: left;
margin-left: 50%; 
margin-right: 10px;
margin-bottom: 0px; 
margin-top: 8px; 
} 
p.dialog { 
text-align: left;
margin-left: 20%; 
margin-right: 30px; 
margin-top: 0px; 
margin-bottom: 0px; 
} 
p.sceneheading { 
text-align: left; 
text-transform: uppercase; 
} 
p.sceneheading:before { 
margin-bottom: -16px ! important; 
} 
p.sceneheading:after { 
margin-top: -16px ! important; 
} 
p.transition { 
text-align: right; 
text-transform: uppercase; 
margin-right: 15px; 
} 
p.parenthetical {
text-align: left; 
margin-left: 23%; 
margin-right: 20px; 
}
I have no idea if some of these have any effect on Calibre and the Kindle but I think things are moving in the right way. I suspect my issue was playing with other peoples CSS examples aimed at web browsers and the CSS that calibre converts and can use for Kindle and other epub readers is a limited subset

Anyway thanks for all the feedback and maybe this thread will help others in the future

Alan
alanjay is offline   Reply With Quote