PDA

View Full Version : Change Font on DHTML Tooltip II



theBeachBum2
02-24-2008, 10:33 PM
DHTML Tooltip II

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

Hi All -

How do I change and/or set the font on the tool tip? It is displaying as times new roman, i've tried setting it to arial, but nothing seems to work.

Thanks, :)

Nile
02-24-2008, 10:58 PM
You've tried doing this?:

<style type="text/css">

#dhtmltooltip{
position: absolute;
left: -300px;
width: 150px;
border: 1px 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=gray,direction=135);
font-family: arial;
}

#dhtmlpointer{
position:absolute;
left: -300px;
z-index: 101;
visibility: hidden;
font-family: arial;
}

</style>

theBeachBum2
02-24-2008, 11:52 PM
thanks... i forgot "family" .... its a sunday! thanks again.

Nile
02-25-2008, 12:08 AM
The "[Thank user who made this post]" button will add a "thanks" if this was helpful, by the way.