Results 1 to 2 of 2

Thread: help with font attribute for tooltip

  1. #1
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help with font attribute for tooltip

    As a rookie I am happy to have found a script that does pretty much exactly what I want

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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Try editing the CSS for the script:

    Code:
    #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);
    }
    DD Admin

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
  •