Please take a look at this jsfiddle
I gave position absolute to a question-sign icon with top:0; right: -42px;
top:0; right: -42px;
therefore the element that shows tooltip is outside of row
. I think this has caused tooltip to not get proper width or misplace the tooltip content and tooltip content trapped within row-fluid
. as you can see arrow position is fine.
update : I'd place ?
icon next to textarea and textarea fill its parent width and aligned right. here is another example
Specify body
as a container for a tooltip ( demo ):
$('[data-toggle="tooltip"]').tooltip({
container: 'body'
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.