Home › Forums › CSS › [Solved] Safari and the caption tag (with padding) › Re: [Solved] Safari and the caption tag (with padding)
September 10, 2009 at 11:56 am
#63738
Member
"Indubitable Turtle" wrote:
Try setting the line-height for the text within the caption to the exact pixel height of the caption. That’s a trick I learned a long time ago. It’s not for every occasion, but for little things like this, it’s the ticket. Works for me in Firefox 3.5 and Safari 4.
Code:
#wp-calendar caption span {
line-height: 42px;
}
line-height: 42px;
}
Cheers!
ah, the simple things, seem most rewarding. Thanks a ton!
I know about this trick, too. (except I tried setting line-height to equal the font size.)
Anywho you ROCK!