What should I do if the inner border of the table is not displayed and only the outer border is displayed? I want to have an inner border
able style="width: 990px; text-align:center; border:1px solid #aac7cc;"
How else to set it?
Inner borders?
td’s border?
Yes, it looks like the original table
Directly use the HTML attribute border="1" of the table
or use the external style table td to define it, just When writing inline styles, TD cannot be controlled in the table.
I don’t quite understand. Can you give me the code directly? Directly use the table's HTML attribute border="1"
or use the external style table td to define it. Only write the inline style. The TD cannot be controlled in the table
table{border-collapse:collapse;} td{bord:1px solid red;}
<table cellpadding="1" cellspacing="0" border="0"> 这个 只是在表头上加 表格间距 如果要显示颜色 就需要给 整个 table 加边框色 td 设置成 不一样的颜色。
There is only one border
It seems that the boder can only set the outer border. If you want the inner border to appear, it must be embedded. Set it up