PDA

View Full Version : Cool DHTML tooltip



simplyjava
04-15-2008, 04:18 PM
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/dynamicindex5/dhtmltooltip.htm
Please help.

Thanks to all!!!
Have a nice day
:)

ddadmin
04-15-2008, 04:58 PM
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:


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