Results 1 to 3 of 3

Thread: "Cool DHTML Tooltip II" problem with font in FF

  1. #1
    Join Date
    Oct 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question "Cool DHTML Tooltip II" problem with font in FF

    Greetings brave helpers,

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

    When I change font type in this tooltip, I do it like this:

    <font face="Verdana" size="1">
    .... The script
    </font>


    IE and Opera (and Safari I am told) displays it accordingly. But not FF, it shows it in a "Times New Roman" stile font.

    However, on your test page FF has no problem, but when I make a test page with only the "dhtmltooltip2" code FF again shows the tooltip as mentioned... so I guess there must be some crucial difference between the actual code in test page and the mentioned code in the test page!

    My question in short :
    How do I change the font type in this tool tip, so FF also will get it?

    Thank you for any help

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

    Default

    You definitely should be using CSS in ths case to change the font. Just add to the CSS of Step 1:

    #dhtmltooltip{
    font: normal 12px Verdana;
    "
    "
    }

    This should change the font for all browsers.

  3. #3
    Join Date
    Oct 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Perfect it works
    Thanx for a swift and easily put answer..

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
  •