Home › Forums › CSS › centering two columns of links…aargh › Reply To: centering two columns of links…aargh
June 8, 2016 at 6:39 am
#242663
Paulie_D
Member
The use of the font
element has been deprecated and it should no longer be used.
Secondly, the first rule of centering is “Don’t use Float”.
Frankly, also, there is no need for the wrapping p
element either. I’d prefer to use a proper menu structure (ul/li
) instead but let’s just go with what we have.
So how to proceed?
Well the first option is to just add a width of 50% to the .list
divs, then center the text in the p
tags.
That gets you this: