So I'm working on this page at CURE.org which we are launching shortly, and I noticed that my super-script dollar signs in the appeal offer look off in Chrome.

Everything looks just fine in Firefox 4, but Chrome doesn't look so great. What in the world...

At first I thought there must be some line-height bug in one of the two browsers, but it seems what is actually happening is some discrepancy with how Chrome and Firefox render changes to the CSS property for vertical-align.

I don't like discrepancies. Lack of support is one thing, because you can work around lack of support with progressive enhancement. But discrepancies just drive me nuts.

In this case, I decided to look for a workaround...OK, actually a hack.

And I found one here.

Turns out there is a sweet little hack (as sweet as a hack can be of course) where instead of using the CSS vertical-align property with a value of "super", we can use a combination of the following properties to achieve roughly the same effect, without throwing off the line-height across browers.

<p>
<span class="super">$</span>
100
</p>

<style>
.super {
font-size:80%; /* or designate an appropriate px or em value here */
position:relative;
top:-.5em; /* alternatively, you could use a positive bottom value */
}
</style>