日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

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

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

該樓層疑似違規(guī)已被系統(tǒng)折疊?隱藏此樓查看此樓

我設(shè)置了一個Table適應(yīng)手機尺寸的,但是現(xiàn)在每行高度不會跟著變化,求解答!!!!附上代碼

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

總結(jié)

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

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。