Fri, 2011-07-15 22:14
I am having trouble trying to figure this out. I have tried vertical-align:center and padding-top:9px, but the first just doesnt work (in any tags), and the padding just ADDS the padding on top of the background image there already.
All I want is the text to be in the middle of the bar.
http://wincraftmc.net/test/
http://wincraftmc.net/test/home/style.css
Thanks.
PS If there is a way of being able to change the font of these with font-family, could I also get help on that? Again, I have tried in every tag, but no dice.
Sat, 2011-07-16 00:00
#1
You could do this:.tabs a {
You could do this:
.tabs a { display: table-cell; height: 48px; text-decoration: none; vertical-align: middle; width: 102px; }
cheers,
gary