日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

前端设置画布的高度_Table问题,设置了一个手机页面的Table高度问题

發布時間:2025/3/20 HTML 61 豆豆
生活随笔 收集整理的這篇文章主要介紹了 前端设置画布的高度_Table问题,设置了一个手机页面的Table高度问题 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

該樓層疑似違規已被系統折疊?隱藏此樓查看此樓

我設置了一個Table適應手機尺寸的,但是現在每行高度不會跟著變化,求解答!!!!附上代碼

Responsive Tables

body { margin: 0; font-size: 100%; font-weight: normal; }

body { padding: 1.25em; font-family: 'Helvetica Neue', Arial, sans-serif; background: #eee; }

#rt2 { display: block; position: relative; width: 100%; }

#rt2 thead{ display: block; float: left; }

#rt2 tbody { display: -webkit-box; overflow-x: auto;}

#rt2 th,#rt2 tr,#rt2 td { display: block; }

.rt { width: 100%; font-size: 0.75em;/*12*/ line-height: 1.25em;/*15*/ border-collapse: collapse; border-spacing: 0; }

.rt th,

.rt td { margin: 0; padding: 0.4166em;/*10*/ vertical-align: top; border: 1px solid #babcbf; background: #fff; }

.rt th { text-align: left; background: #fff2b2; }

.rt th { border-bottom: 0; }

.rt td { border-left: 0; border-right: 0; border-bottom: 0; }

.rt tbody tr { border-right: 1px solid #babcbf; }

.rt th:last-child,

.rt td:last-child { border-bottom: 1px solid #babcbf; }

ProjectBIM-0001-NewStaffTrainingFilesBIM-1001-TheHavenBIM-1508BIM-C1502BIM-Z1012BIM-OPUSBIM-B1510BIM-1409-SKM_Ph3_Master

11111111111111111111111111111111111111111111111111111111111111111111111111yesyesyesyesyesyesyesyes2222222222222222222222222222222noyesyesyesyesyesyesyes3333333333333333333333333nononoyesyesyesyesincorrect444444444444444444444444444nononoyesyesyesyesincorrect5555555555555555555555555555nononoyesyesyesyesincorrect6nonoyes-moz--moz-yesyesyes

總結

以上是生活随笔為你收集整理的前端设置画布的高度_Table问题,设置了一个手机页面的Table高度问题的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。