Bootstrap have a lot of pits, in use is also in the pits, has been troubled by the problem finally solved, began my use of bootstrap-table this plug-in, a table set height, the table header and table content is not aligned, Baidu on the Internet to check the information, for me, nothing resolved, Originally did not think can find the solution, finally solved, the code is as follows
<table id= "peakalarmtable" class= "table table-striped table_list" >
</table>
CSS Code
. table_list_box{
!important;
}
Just add this table-layout:fixed can solve the problem of the table is not aligned, when let me is to set the global, I hope to help everyone
Again, when I zoom in and out of the browser lip, the table is not aligned again, so I checked to resize to do a monitoring
$ (window). Resize (function () {
$ (' #continuousAlarmTable '). Bootstraptable (' Resetview ');
});
About Link http://blog.csdn.net/hanxue_tyc/article/details/54917227