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)

#63723

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!