View Single Post
Old 03-09-2023, 07:13 PM   #1
isflax
Junior Member
isflax began at the beginning.
 
isflax's Avatar
 
Posts: 2
Karma: 10
Join Date: Mar 2023
Device: Kindle 4th gen
Margin keeps being rewritten based on ???

Hi, I'm making a poetry e-book. Final state should look like this. The css to it looks like this. Unfortunately, when I try to convert it to anything (my goal is pdf but even azw3 does this), it basically deletes the left and right margin in .poetry class. This state, however, is not given. It occurs once there is about 52 poems in. I tried reducing the number of poems (overall length of the book) and it seems to have problems at around 2000 rows (the ebook has also a preface that is around 100 rows long)? After that, it abandons the rule whatsoever and all the text in .poetry class is automatically aligned left. That looks like this. (The final state of the only 52 is here.)

What converting to azw3 does is it copies the margin rule but only converts it to margin-top and margin-bottom. That seems to be the issue I'm having but I might be doing something else that is also completely wrong.

If this explanation wasn't sufficient or if this post is in a wrong category, I'm sorry.
isflax is offline   Reply With Quote