View Single Post
Old Today, 03:23 AM   #1
ryder
Enthusiast
ryder began at the beginning.
 
Posts: 25
Karma: 10
Join Date: May 2024
Device: Clara 2E
Calibre not using my indent command

Hello everybody,

I use this css styling for my epub conversions:

p {
p:first-of-type {
text-indent: 0 !important;
}
p {
margin: 0 !important;
padding: 0;
widows: 1;
orphans: 1;
text-indent: 1em !important;
}

Unfortunately calibre indents with more than 1em for the other paragraphs except the first one. How can I combine the two p commands in one, so that the text indent will be 1em?

My goal is that the first indent after chapter or space break is 0 and the normal indent after paragraph should be 1em.

Thank you in advance
ryder is offline   Reply With Quote