Quote:
Originally Posted by ShellShock
I use Sigil to set the line-height in the stylesheet, usually on the p tag, e.g.,
Code:
p
{
line-height: 1.2em;
}
If there is already a p tag in the stylesheet then you need to add it to that. You can also be more selective--perhaps you do not want to set the line-height for all paragraphs, but only for some styles?
|
Actually, do the following and it will work better overall...
Code:
p, div, h1, h2 {
line-height 1.2em
}
Put that at the top of the CSS and if there are any other styles used that change the line-height, that will override your 1.2em and if not, your 1.2em will work as is for all those.
Quote:
Also, some epubs do not use p tags for paragraphs, they may use divs or spans. This is annoying, but with Sigil you can easily check for this.
|
A span is not a paragraph level tag. So it doesn't need a line-height to change the Kobo default.