PDA

View Full Version : help with font attribute for tooltip



barryboy1970
09-15-2008, 07:54 PM
As a rookie I am happy to have found a script that does pretty much exactly what I want

http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm

However, the tooltip pop up displays text in an undesired font. So my question is how do I modify the code provided to specify an arial font in the tooltip bubbles. Please and thank you.

You can also reply to barryboy1970 at hotmail dot com

ddadmin
09-16-2008, 12:15 AM
Try editing the CSS for the script:


#dhtmltooltip{
position: absolute;
width: 150px;
border: 2px solid black;
font: normal 13px Arial;
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=gray,direction=135);
}