View Full Version : Superscript in link

07-14-2005, 10:52 AM
I have a document with a sup tag inside a link. This renders ok in Firefox ie the underline stays below the text line. However, in IE (6) and Netscape (7) the underline below the superscripted character is also superscripted. Looks a bit odd. :confused:

Are there any CSS hacks to make this work for these less-compliant browsers?



07-14-2005, 01:08 PM
That is not what I am showing here. The underline is also superscripted in FF. What does your markup look like and do you have any style applied to it already? Anyways, the safest way to deal with this would be to make your markup like so:

<a href="#">22</a><sup><a href="#">4</a></sup>With a style section entry of:

<style type="text/css">
sup a{
</style>Then the superscripted links (written as shown) should all lack underlines for their superscripted parts in all browsers.