CodePudding user response:
Is set in the HTML cellspacing="0", but the table in the aspx without this attributeCodePudding user response:
Write a styleCSS
Table
{
border-collapse: collapse;
margin: 0 auto;
text-align: center;
Width: 800 px;
}
The table of td, table th
{
Border: 1 px solid # 9 ea cad;
color: #666;
height: 30px;
}
Table thead th
{
Background - color: # CCE8EB;
width: 100px;
}