View Single Post
Old 09-25-2023, 12:58 PM   #5
Vanguard3000
Groupie
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 168
Karma: 474196
Join Date: Jan 2011
Location: Canada
Device: Kobo Libra 2
Quote:
Originally Posted by Quoth View Post
Yes, but likely the H2 and image CSS was wrong.
If that were the case, the inline styling I've provided as an example ought to work. In any case, here is the stylesheet info from the actual file for reference:

Code:
h2,h3,h4 {
  page-break-after: avoid;
}

h2 {
  text-align: center;
  font-style: italic;
  font-size: 2.5em;
  font-weight: normal;
}

h2 > img {
  height: 1em;
  object-fit: contain;
}
Note that the h2 styling to the text (centred justification and italicized style) work as intended, so the stylesheet is linked correctly as far as I can tell.
Vanguard3000 is offline   Reply With Quote