table cellspacing属性;嵌套,边框重叠变粗的解决方法
table的cellspacing属性
使用cellspacing后边框重叠变粗的解决方法:
在外层table与内层table嵌套,内外表格都需边框时,设置“border=1”,但边框会重复,造成某些地方边框粗,有些地方边框细。
解决方法
1、外表格样式
<table border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse;”>
2、内表格样式
<table border="1" cellsp
原创
2020-10-27 17:39:52 ·
1620 阅读 ·
1 评论