I am trying to show tooltip buttons inside a table using twitter bootstrap.
The problem is that tooltips insert extra space between the buttons, and the last button no longer has rounded corners. How can this be fixed?
Another problem is that if the button opens a modal dialog box, after closing it, the button receives focus, and the tooltip is displayed again.
Buttons are created using ajax requests, so here is how I initialize the tooltips:
$('body').tooltip({ selector: '[rel=tooltip]:not(.disabled)', live: true, container: 'body'
});
Here is the jsfiddle for it: http://jsfiddle.net/danut007ro/y8vNr/
source share