div 내에서 크기가 조정 가능한 테이블을 가지고 있습니다. div 크기를 조정할 때 표의 너비가 조정되는 곳에서 표의 높이를 조정할 수 없습니다. 다음은 내 스 니펫입니다. 한번 확인해주십시오.div 크기 조정시 div 크기 조정 안 됨 테이블
<div id="id" style="height:350px; width250px;" class="control">
<div id="fifth_heading" class="heading_control">
<i class="fa2 fa-fifth"></i>
<p><%=entry1.getDivdescription() %></p>
<div class="button_right_second">
<i class="fa3 fa-second3" id="<%=entry1.getDivid() %>"></i>
</div>
</div>
<div class="fifth_dropdown">
<div class="table_data" id="table_second">
<table id="example3" style="height:auto;"class="display" border="0" cellspacing="0" cellpadding="0">
<!-- the below tr prints the dates -->
<tbody>
<tr id="line1">
<td>
<span id="header_title">Your Current Lead Time</span>
</td>
</tr>
<tr id="line2">
<td>
<span id="value">alignvalue</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
div.table_data{margin-left:2px;margin-right:10px;margin-top:5px;overflow:auto;}
#table_second::-webkit-scrollbar{
width:10px;
background-color:#cccccc;
}
#table_second::-webkit-scrollbar-thumb{
background-color:rgb(78, 82, 93);
border-radius:10px;
}
#table_second::-webkit-scrollbar-thumb:hover{
background-color:rgb(78, 82, 93);
border:1px solid #333333;
}
#table_second::-webkit-scrollbar-thumb:active{
background-color:rgb(78, 82, 93);
border:1px solid #333333;
}
테이블의 높이가 이미 '100 %'로 설정되어 있고 작동하지 않는 경우'.fifth_dropdown','.table_data' 또는'# table_second'에 사용 된 CSS 속성은 무엇입니까? CSS 스크립트를 게시물에 포함시킬 수 있습니까? – Mai
에 대한 제 5_dropdown, 내가 추가 한, 그리고 table_data, 난 pasted.and # table_second에 대한, 나는 scrollers.please에 대한 CSS를 한 번만 그들을 추가했습니다. – micheal