Results 1 to 2 of 2

Thread: Cool DHTML tooltip

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

    Default Cool DHTML tooltip

    Hi all,

    I am new to this forum. This is my first post for this forum. I have use Cool DHTML for tooltip posted on this site. I am having a problem with the tooltip. I want the width to be flexible one.I mean i dont want to fix the width . it must be adapt according to the text. But somehow i am not able to do that.

    http://www.dynamicdrive.com/dynamici...tmltooltip.htm
    Please help.

    Thanks to all!!!
    Have a nice day

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

    Default

    Within the CSS at the top, you can change the "top" property to auto, though this essentially means each tooltip will be one line long, automatically stretching to fit the entire tooltip text:

    Code:
    #dhtmltooltip{
    position: absolute;
    width: auto;
    "

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
  •