View Single Post
Old 09-17-2018, 06:59 AM   #15
MaxM
Junior Member
MaxM began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: Calibre
Different dropcap

Hi there,

I used the following and it was working like a year ago:
<p class="calibre"><span class="dropcap">U</span> - problems with text-align: justify
PHP Code:
.dropcap {
  
color#900;
  
floatleft;
  
font-size3em;
  
font-stylenormal;
  
line-height0.8em;
  
margin-bottom: -0.2em;
  
margin-right3pt;

I changed it to what I found today - working at least for calibre reader, Readium, and BlueFireReader:
<p class="first-paragraph"><span class="char-style-override2">D</span>
PHP Code:
.char-style-override2 {
    
color#900;
    
floatleft;
    
font-size2.753em;
    
line-height0.9;
    
margin-bottom: -0.245em;
    
margin-right0.1em;
    
margin-top0.04em
    
}
.
first-paragraph {
    
displayblock;
    
font-size1em;
    
font-stylenormal;
    
font-variantnormal;
    
font-weightnormal;
    
line-height1.25;
    
text-alignjustify;
    
text-decorationnone;
    
text-indent0;
    
margin0 0 2px
    

Try for your azw - its not my kind of stuff.
Good luck,
Max
MaxM is offline   Reply With Quote