I am using Bootstrap 3.1.1 for my project. Each cell in my table contains data like 000
or 111
. On hover, I want to display this data as a tooltip. So
You can set the "data-container" at this way:
// initalize boostrap tooltip
$(function () {
$('[data-toggle="tooltip"]').tooltip({
container: 'body'
})
})
You have to add the data-container="body"
as per documentation.
<td data-original-title="999" data-container="body"
data-toggle="tooltip" data-placement="bottom" title="">
</td>
http://jsfiddle.net/uEqF2/2/