View Single Post
Old 05-11-2025, 04:15 PM   #19
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 479
Karma: 65460
Join Date: Jun 2011
Device: Kindle
I assume you mean something like:

Code:
<br style="line-height:1.5em;"/>
If so, that also yielded a whole lotta nothin'.

I also tried adding

Code:
display: inline;
to the css, in case that's what you were driving at, but that didn't do anything.

However, if i create a <span> around the <br> and add the "line-height: 1.5em;" property to the css for the <span> it does work.

Not that this is an actual solution; that's super duct-tape-and-super-glue-style coding.

Also, please see the screengrab for "<br />" being displayed as "<br></br>" in PageEdit.

EDIT: Ha! I just realized that PageEdit's prettification inserts a line-break after <br> tags...

EDIT2: FWIW, I opened the file in Sigil 0.7.2, and the preview (and ye olde Book View) correctly renders the line-height property.
Attached Thumbnails
Click image for larger version

Name:	screenshotbr.jpg
Views:	63
Size:	414.3 KB
ID:	215613  

Last edited by ElMiko; 05-11-2025 at 04:39 PM.
ElMiko is offline   Reply With Quote