Quote:
Originally Posted by theducks
make a no_height class in the stylesheet (code not tested)
Code:
h2.no_height {
margin: 0;
padding: 0
}
and assign
class="no_height" to those headers
|
That worked although "padding: 0" wasn't needed. But another strange thing happened.
When I converted the text file to epub there was a class=calibre that I think Sigil, at some point, inserted in its normal <body style="">. When that statement was missing I got the "almost" to the top. The active statement was "margin-top:0".
Life is confusing.

Just when I think I'm getting things sorted out this happens. Why does a "margin:0", which I did not know existed until you told me, be dependent on an earlier "margin-top:0" to function. BTW, neither can be omitted nor can they be exchanged. Go figure!
Regards - John