Quote:
Originally Posted by JSWolf
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.