View Single Post
Old 09-10-2024, 01:58 PM   #20
Jasonc310771
Member
Jasonc310771 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2024
Device: calibre
Box Model, I understand this. But if this was the case, when I reduce the size of the text in the viewer, this should cause the problematic story title to continue under the previous story?


Quote:
Originally Posted by theducks View Post
I use Libre Office and it (the docx) shows on a single 8.5 x 11 page
(I also do not use LO as a book source. AKA authoring)

Whatever is happening for you could be a page overflow due to the current styling for h1
You need to understand The Box Model

Margin-border-padding-text-padding-border-margin (with the exception of text, all those others can have values for Top, Bottom, Right, Left
Usually if not specified Border and padding are 0. BUT the viewer may have non-zero defaults for Margin, which makes it a good practice to specify what you really want

A box must fit or it ends up on the next screen (widows and orphans offer additional controls)

Personally, I just fix the code. The DOCX gets the document int the editor for final styling.
Jasonc310771 is offline   Reply With Quote