i know that you have all helped me with this before, but i still can't get it to work right.
how do i center text within a div, i can get it to center horizontally, but vertically i know that you use line-height, but it still isn't perfectly centered. my code can be found at http://www.coloredfortunecookies.com and it is the text within the .gobox that i want centered, please help!!!!
You could try to increase the top padding using EMs rather than pixels. EMs allow the use of decimal points.
It remains a matter of trial and error.
line-height only work for a single lien of text.
I just add an extra bit of top-padding to visually vertically center text in a <div>.
You could also use display: table-cell; but I can't remember wich versions of IE that is not supported in, 6 and 7 certainly not, maybe 8 and I think thereafter yes