Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Safari and the caption tag (with padding) Re: [Solved] Safari and the caption tag (with padding)

#63738
blue642
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;
}

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!