高度设置自适应li内容无法全部显示出来
#table{
min-height:1000px;
height:auto;
width: 1100px;
margin-left:auto;
margin-right:auto;
background: aqua;
}
#table_body{
min-height:900px;
height:auto;
width: 1100px;
position: relative;
}
#table_body li{
min-height:900px;
height:auto;
width: 1100px;
background: white;
position: absolute;
display: none;
}
我做了一个table选项卡,每个li里面的内容不一样,我这样写,它自动把每个li的长度设置成一样的了,有些内容很多li里面无法显示全部内容,求正确方法,谢谢