Results 1 to 2 of 2

Thread: change font in Cool DHTML Tooltip II

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

    Default change font in Cool DHTML Tooltip II

    Hi, I used Cool DHTML Tooltip II for my page but i want to change the font which shows in tooltip.
    could any one help me in this issue?
    thanks

    link:
    http://www.dynamicdrive.com/dynamici...mltooltip2.htm

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    The following is the default ID used in the dhtml tooltip in which there is no font name specified. You can modify that ID in your case and specify a 'font-family' property and the font name which you want to use. As an example you can check the highlighted line in the following section:

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

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
  •