alex
alex

Reputation: 490143

IE8 problem with jQuery plugin

I've developed a plugin that makes characters jump and bounce when moused over in any element that contains text.

Here is an example.

It works great in Firefox 3.5, Chrome, Safari 3.1 and IE7 (oddly, but in compatibility mode) but in IE8 it seems the characters disappear as they rise. I've added top padding to the p element, because it looked like they were being hidden from something like overflow: hidden, but they appear to rise a bit and then completely disappear, only to reappear on their way down.

Does anyone know what may be causing this?

Thank you very much Stackers!

Upvotes: 1

Views: 511

Answers (1)

Steve
Steve

Reputation: 5853

Setting a line-height should fix it.

Upvotes: 2

Related Questions