View Full Version : Changing the font when I hover over this.


rtate
07-13-2004, 04:59 PM
Okay, so when I make a link and you hover over it a little box pops up giving the description of the link. I'd like to change the font of that description to Verdana size 10. Here's my page:

http://www.fremontco.com/calendars.shtml

Hover your mouse of July 13th. Any ideas how to change the font?

Thanks! Hope someone can help.

Rene

jtchange
07-13-2004, 06:59 PM
well, find this part of your code:

<style type="text/css">

#dhtmltooltip{
position: absolute;
width: 150px;
border: 2px solid black;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 100;
/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
filter: progid:DXImageTransform.Microsoft.Shadow(color=gra y,direction=135);
}
</style>


and add in the font-family property...


<style type="text/css">

#dhtmltooltip{
position: absolute;
width: 150px;
border: 2px solid black;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 100;
font-family: Verdana;
font-size: 10pt;
/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
filter: progid:DXImageTransform.Microsoft.Shadow(color=gra y,direction=135);
}
</style>


and that should work...

rtate
07-13-2004, 07:08 PM
Wahooo! Thanks alot! I'm such a dork, I forgot about that part in the head tag. I could've figured it out if I thought about it long enough. lol I was trying to change stuff in the body tag and it wasn't working.

Thank you jtchange!

Rene

jtchange
07-14-2004, 01:27 AM
Your welcome :)