Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Horizontally centering an absolute element Reply To: Horizontally centering an absolute element

#197454
Paulie_D
Member

No problem…this is just my interpretation of what’s going on…I think I’m close but I’m happy to be corrected.

Basically (I think) margin:auto works to center any block level element with a defined width even if that width is unstated because it’s inherently set by the default to 100%, in which case the centering is irrelevant.