Solved

Changing anchor title attribute font family

Posted on 2003-11-10
12
839 Views
Last Modified: 2013-12-03
Hi,

is it possible to change to font family of the text displayed within the yellow box shown when passing the mouse over a link (title attribute) ?

thanks
0
Comment
Question by:javiertb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +2
12 Comments
 
LVL 2

Author Comment

by:javiertb
ID: 9715190

I have a problem with some Czech letters like š when displaying them in titles (web page title or a href title).
0
 
LVL 2

Author Comment

by:javiertb
ID: 9715291
The web page is in UTF-8 encoding.
0
 
LVL 2

Author Comment

by:javiertb
ID: 9715389
One more clue. In Netscape 7 there's no problem with this letter.I'ts shown right.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 17

Accepted Solution

by:
dorward earned 300 total points
ID: 9715998
No, the tooltip is a system or browser setting and isn't subject to style sheets.
0
 
LVL 7

Expert Comment

by:minnirok
ID: 9717048
Changing the rollover font of links is relatively simple to implement:

<style type="text/css">
a:{font-family:arial;}
a:hover{font-family:helvetica;}
</style>

<a href="">Click Here</a>
0
 
LVL 2

Author Comment

by:javiertb
ID: 9720610

This code doesn't work. I'm using IE 5.5.  The font I see in the tooltip is always the same.
0
 
LVL 1

Expert Comment

by:tripst3r
ID: 9725016
If you get into some JS, it's possible:
http://www.bosrup.com/web/overlib/docs.html

But not just through CSS.

Tk
0
 
LVL 7

Expert Comment

by:minnirok
ID: 9725948
I misunderstood what you were refering to.  The code I posted changes the font-family of the text comprised by the link itself.  You're talking about the browser's rendering of the ALT property, something that the browser controls.  The primary usage of the ALT property is within the IMG tag to provide an alternative for browsers that are not displaying images.

You can imitate the effect of this "tooltip" rollover with some dhtml javascript - you'll want to set the ALT tags to "" and can float a table with your text relative to the cursor, making it visible when the focus is on the relevant link.
0
 
LVL 1

Expert Comment

by:tripst3r
ID: 9726381
I think we've all misunderstood because the questions is miscategorized. The problem here is one of character encoding, not of CSS or JS or something like that.

Do you have some sample code? Are you using directly keystroked Czech characters or are you using numeric Unicode Entity References?

Tk
0
 
LVL 2

Expert Comment

by:davepusey
ID: 9979215
>> is it possible to change to font family of the text displayed within the yellow box shown when passing the mouse over a
>> link

NO! You cant!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Add shadow behind div 5 33
Need help fixing "Flash of Unstyled Content" problem with website 4 51
CSS Style 8 43
TypeError jquery issues with site - CSS conflicts 3 28
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question