在html的表格中,怎么把表格的边框设置为实线框?具体的代码是什么?谢谢

2025-02-27 23:20:24
推荐回答(5个)
回答1:







class="tableborder"是对样式的调用,写在table标签内  

回答2:

写个样式:
.divTable {
padding: 1px;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 1px;
border-left-width: 0px;
border-top-style: none;//上边
border-right-style: none;//右边
border-bottom-style: solid; //就是这个 它这个是把表格的t最下面一行设为实线
border-left-style: none;//左边
border-bottom-color: #ababab;
FONT-SIZE: 12px;
}

回答3:

table代码中有一个cellspacing方法,默认为2调成0就是实线了

回答4:

table{border:1px solid #000;}

回答5:

public static void main(agrs Stytem[]){
    System.out.println("这是什么");
}