为什么引导选项卡显示选项卡窗格div与不正确的宽度时使用高图表?
<div class = "row-fluid"> <div class = "span9"> <div class = "row-fluid"> <h3>Test</h3> <ul class="nav nav-tabs"> <li class = "active"> <a data-toggle = "tab" href = "#one">One</a> </li> <li><a data-toggle = "tab" href = "#two">Two</a></li> <li><a data-toggle = "tab" href = "#three">Three</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="one" > <h4>One</h4> <div id = "container1"></div> <script type = "text/javascript"> $(function () { $('#container1').highcharts({ }); }); </script> </div> <div class="tab-pane" id="two" > <h4>Two</h4> <div id = "container2"></div> <script type = "text/javascript"> $(function () { $('#container2').highcharts({ }); }); </div> </div> </div> </div>
慕姐8265434