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:26 am
#63723
Member
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!