If you use Word (or LO Writer) paragraph styles correctly with a docx to Calibre there will be no blocks. You'll have everything just about perfect except for image size css. Hx, p etc. Headings in Word/Writer only differ from other paragraph styles by having a heading level of 1, 2 etc. Any style not a heading, even if it looks like one, has no heading level and generates <p class="whatever"> instead of <h1 class="mychapter">
Correctly used there is one matching CSS for each source style of of heading, paragraph or image.
Hint only use one default page size with no line height or spacing defined or registration on any style. No headings, footers etc.
Don't try and duplicate paper.
You should only need to edit image size css (if that), nothing else. If you are needing to edit CSS for anything other than an image you are not using Word paragraph styles properly.
Ebooks use a subset of web css & HTML, so any course will mislead you. Learn to use MS Word, or maybe LO Writer.
Last edited by Quoth; 11-30-2023 at 02:43 PM.
|