在Bootstrap.js 900 行处插入以下代码
that.$element.children().eq(0).css("position", "absolute").css({
"margin": "0px",
"top": function () {
return (that.$element.height() - that.$element.children().eq(0).height() - 45) / 2 + "px";
},
"left": function () {
return (that.$element.width() - that.$element.children().eq(0).width() + 400) / 2 + "px";
}
});