?
Solved

Changing anchor title attribute font family

Posted on 2003-11-10
12
Medium Priority
?
841 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 17

Accepted Solution

by:
dorward earned 1200 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

Independent Software Vendors: 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!

Question has a verified solution.

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

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

752 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