Problems with Superscript within an ANCHOR

liunx

Guest
I am wondering if you have any suggestions for a way to display a Superscript within an <A> tag without having the Anchor's underline also superscripted.

Here's what I have:

<a href=http://www.webdeveloper.com/forum/archive/index.php/"#">Brad is testing x+x<SUP>y+x+4</SUP> to calculate</A>


What you will see on at least IE is that the Anchor underline actually breaks at the Superscript and underlines at the higher superscript text. It looks horrible.

The clients style prefers an underline, so I can't remove the Anchor's Text Decoration..

I have tried a couple of different things in CSS with Vertical-Align and Relative Positioning.

Any other ideas?

-BradIf you used the bottom border instead of the underline the it wouldn't get broken up by the superscript since the bottom border of the anchor is still in the same place even when the text is realigned.
 
Back
Top