How to display strange characters as tooltip in the <a> tag?



               

               2.0.0.6 for Windows,Mac,Linux

Question:I am able to display tooltip with strange characters like Chinese in the links in Mozilla FireFox browser perfectly. Whereas the Internet Explorer displays the tooltip for the links differently.

Here is the sample code:
<a href="xyz.do?id=1597796414" class="preferred" title="中文">中文</a>

The actual characters for these codes are: 中文

Plz help me to rectify this.

Many thanks in advance.


Try doing it as a DHTML mouseover tip script rather than just a description for a hyperlink.
You are doing it correctly. a good medium sized sentence!

If I had a penny for everything IE does wrong, I could buy a gun to shoot their programmers.

The key to the whole thing is UTF-8 encoding. Do it once. forget about it.

More Questions & Answers...

This article contents is create by this website user, FireFoxAnswer.com doesn't promise its accuracy.