WebPublisher
[css] fieldset 내에서 overflow-x: auto 적용하기
amanda
2022. 5. 20. 15:38
fieldset 내에서는 overflow-x: auto가 먹히지 않음
fieldset이 부모의 width가 아니라 콘텐츠 요소의 width값을 갖게 되기 때문
해결하려면 fieldset의 width를 잡아주는 과정이 필요함
fieldset{width: auto;min-width: 0;max-width: none;}
*참고
[html] <fieldset>의 크기가 잘못되었습니다. `min-width : min-content`를 제거 할 수없는 것으로 보입니다 -
문제 나는이 <select>그 중 한 곳 <option>의 텍스트 값이 매우 깁니다. <select>표시된 텍스트를 잘라 내야하더라도 크기를 조정하여 부모보다 넓지 않게 하고 싶습니다 . max-width: 100%그렇게해야합니다
daplus.net
https://stackoverflow.com/questions/26178657/tables-overflow-x-inside-fieldset
Table's overflow-x inside fieldset
Here is two samples: <div class="content-wrapper"> <div class="gridwrapper"> <table> <thead> <tr> <th&g...
stackoverflow.com