Support percentages as width attribute
| Project: | clueTip - flexible, enhanced tooltip |
| Version: | 0.9.8 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Is it possible to have a clueTip with a width that match the content of div.cluetip-inner?
Because the structure of clueTip is based on <div> it's not possible to set a width that is smaller than the content and then expect all the <div> to match to content width.
div.cluetip-inner will maybe get the right width but for sure the title part will not.
The idea is to show a picture in clueTip but I don't know it's width or height.
How can I have a nice title and borders that match the width of the picture ?

Comments
#1
the option for 'width' currently only works with fixed pixel sizes.
It would be great to be able to specify: width: '50%' -- browser windows aren't always the same size.
I could override this on .cluetip-default with: width: 50% !important in the css file, but the other dropshadow divs don't have classes access them.