In the tooltips.css file:
Code:
#dhtmltooltip{
position: absolute;
left: -300px;
width: auto!important;
border: 1px solid black;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 200;
/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}
That will allow the tip to easily shrink or grow as needed. The only other thing I can think of would be to add spaces in some sort of validation process when the shout text is saved, but if this is good enough we won't worry about that, because it would really not be part of the script in question here. If you want to do that, PHP or whatever server side code is saving the shout text would be the way to go.
If you also add:
Code:
#dhtmltooltip table {
width: 200px;
}
It will keep the other tips, the one's whose shout texts have spaces, like they were.
Bookmarks