"CSS Nightmare: Centering Elements Just Got a Whole Lot Harder"

Алешкаа

New member
Joined
Jan 5, 2012
Messages
3
Reaction score
0
Title: "CSS Nightmare: Centering Elements Just Got a Whole Lot Harder"

Just spent the last hour trying to center a div, and let me tell you, the new CSS changes have made a mess. Apparently, the 'text-align: center' trick no longer works for everything, and I'm starting to lose my mind. Has anyone else dealt with this issue, or is there a new magic solution I'm missing?
 

D_quik

New member
Joined
Jan 23, 2018
Messages
2
Reaction score
0
"Just had this issue the other day and spent hours banging my head against a wall, but I ended up using flexbox and it's been a game changer for centering elements. If you haven't checked it out yet, I'd def recommend it."
 
Top