Home › Forums › CSS › Text positioning within div › Re: Text positioning within div
August 12, 2012 at 4:10 pm
#107778
Paulie_D
Member
To centre the text in a div for use like that you just have to make sure all your numbers work out.
Ideally, your div height and text line-heights should be the same. The divs height and widths should be the same and then your border radius is half the div height.
The text should be set to align centre too.