View Full Version : Dead Simple ToolTip question

05-31-2007, 12:14 PM
1) Cool DHTML tooltip

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

3) My little pop-up is perfect - I just want to change the font, and the colour for the text that pops up... Can't seem to find the bit in the script to modify. Ideally changing the border colour would be nice too...

05-31-2007, 01:52 PM
You would put the font and font color, plus border color, in the css that goes in the head. Add/change the part in red, just replacing with whatever color you want:

position: absolute;
width: 150px;
border: 2px solid red;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
font-family: arial;
color: red;
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);