With border:none; for the image, there should be no border. I think you may be referring to the outline. Try:
Code:
<a style="outline-style:none;"
>
<xsl:attribute name='href'>#</xsl:attribute>
<xsl:attribute name='rel'>ttip_<xsl:value-of select='@name' /></xsl:attribute>
<xsl:attribute name='onClick'>return false;</xsl:attribute>
<img src="images/help.jpg" align="texttop" style='border : none;outline-style:none;
'></img>
</a>
Since this is xsl though, you may need to put style in an xsl stylesheet.
But, no matter what you do, people can click anywhere they like. All you can do is configure what happens when they do. Browsers can still override that with user defined settings.
Now, if the tip didn't depend upon a link, I'd use a span. From your code it looks like a link is required - rel isn't an attribute of span, and the tip code may only be looking at links.
There are other tool tip scripts that can work with any element though.
Another thing to try:
Code:
<a>
<xsl:attribute name='href'>#</xsl:attribute>
<xsl:attribute name='rel'>ttip_<xsl:value-of select='@name' /></xsl:attribute>
<xsl:attribute name='onClick'>this.blur();
return false;</xsl:attribute>
<img src="images/help.jpg" align="texttop" style='border : none;'></img>
</a>
Bookmarks