table, table tr th, table tr td { border: 1px solid #808080; border-collapse: collapse; width: 1900px; background-color: #000000; color: #ffffff; } .TableFrame { border: hidden; width: 1900px; } #TableLeft, #TableRight { width: 925px; height: 500px; border: hidden; } .tdTitle { /* width: 150px; */ height: 48px; /*background-color: #B4EEB4;*/ text-align: center; font-family: 黑体; font-size: 32px; font-weight: 500; background-color: #191970; } .tdContent { width: 580px; height: 48px; /*background-color:white;*/ text-align: center; font-family: 黑体; font-size: 32px; font-weight: 500; } #TableBottom, #TableSecondRow { border-right: hidden; width: 1900px; } /*#region 字体 */ #content1, #content2, #content3, #content4, #content5 { /*color: #2222DD;*/ } /*#endregion */ /*#region 标题表格 */ #TableTitle, #TableTitle tr th, #TableTitle tr td { /*border: 1px solid #0094ff;*/ border: 1px solid white; border-collapse: collapse; } #TableTitle { width: 1900px; height: 80px; } #Title { width: 800px; font-size: 90px; font-family: 黑体; text-align: center; font-weight: 800; /*background-color:white;*/ background-color: black; color: white; height: 90px; padding-left: 0px; } #tdImg, #Img { background-image: url(Pic/Logo.png); background-repeat: no-repeat; width: 190px; height: 90px; } #DivTimer { /*background-color:white;*/ font-size: 55px; font-family: 黑体; text-align: center; font-weight: 800; width: 650px; padding-bottom: 20px; padding-top: 0px; height: 90px; background-color: black; color: white; border: 0px; line-height: 40px; } /*#endregion */ #scrollEle { display: block; height: 195px; overflow-y: scroll; } .TableFrame tbody tr { display: table; table-layout: fixed; /*重要 表格固定算法*/ } .TableFrame thead { /*留出滚动条的位置*/ width: calc(100% - 1em); }