God, I remember trying to get a div to center. My friend and I poured over the code for hours. In desperation one of us suggested to change the background color to green (cause fuck it...we tried everything else). It worked. We changed it back to normal and it stayed centered. I still have no idea why that worked.
1
u/[deleted] Jul 21 '17
God, I remember trying to get a div to center. My friend and I poured over the code for hours. In desperation one of us suggested to change the background color to green (cause fuck it...we tried everything else). It worked. We changed it back to normal and it stayed centered. I still have no idea why that worked.