View Single Post
Old 10-06-2020, 05:46 PM   #926
Jack426
Junior Member
Jack426 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2020
Location: United States
Device: Kindle Paperwhite (2018)
Quote:
Originally Posted by JSWolf View Post
What is it that the page break does to fix centering?
Honestly? I have no idea.

I was contacted by Oronare on reddit after they saw a previous comment where I was helping another user with CSS issues. Unlike the other issue though, I was struggling to figure out what was going on here. I noticed that some content was staying centered and each of those elements had the "break-inside: avoid" property applied. I was like, "what the heck let's apply this to all elements", and it seemed to work.

I'm still not sure how it affects the centering of objects though. I feel like I'm in one of those CSS memes where they change a value by 1px and the world explodes.
Jack426 is offline   Reply With Quote