Results 1 to 2 of 2

Thread: Dead Simple ToolTip question

  1. #1
    Join Date
    May 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dead Simple ToolTip question

    1) Cool DHTML tooltip

    2) http://www.dynamicdrive.com/dynamici...tmltooltip.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...

  2. #2
    Join Date
    Feb 2007
    Posts
    293
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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:

    Code:
    #dhtmltooltip{
    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);
    }

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •