我要做个顶部信息显示,里面有个按钮显示下拉菜单.层次包裹类似这样:
<body> <div id="topdiv">
<div >
<table class="table table-striped table-bordered" style="margin-bottom:0px">
<thead>
<tr>
<th class="dropdown" style="overflow:visible"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">显示列
</button>................
其中topdiv 的高度是auto这样table行比较少时不会占用过大.问题是table行比较少时 下拉菜单"显示列"的选项们就无法完全显示出来了.... 风格设为 overflow:visible好像也没用