求助啊!!帮我看看为什么表哥边框内框颜色不变啊!!
html吧
全部回复
仅看楼主
level 6
青欲m 楼主
2014年05月09日 13点05分 1
level 6
青欲m 楼主
表格 = =
现在开始放代码
table width="100" height="100" border="1" align="center" cellpadding="10" cel
lsp
acing="5" bordercolor="#FF00FF" >
<tr>
<td bordercolor="#996633" >
表格当中的元素
</td>
</tr>
</table>
2014年05月09日 13点05分 2
level 6
青欲m 楼主
我接着顶啊 我接着顶 我顶- -
2014年05月09日 13点05分 3
level 13
你再改一改#号后面的数学吧
2014年05月09日 14点05分 4
改过很多次了
2014年05月09日 14点05分
@青欲m 你改的是背景颜色
2014年05月09日 14点05分
回复 BOOK_思义 :好的 我知道了 谢谢!
2014年05月09日 15点05分
level 9
td没有那个边框颜色属性改为bgcolor就行了
2014年05月09日 14点05分 6
谢谢
2014年05月09日 15点05分
回复 青欲m : 我按你说改成bgcolor = =但是改的是背景颜色 图在楼下 你看看
2014年05月09日 15点05分
回复 青欲m :现在不都用div布局么,table有夹层边框感觉怪怪的
2014年05月09日 15点05分
回复 橙醉骑士团 := =不是 我是在自学html呢。。。 所以遇到问题了
2014年05月09日 15点05分
level 13
如果你想改边框颜色,你可以用css来改
2014年05月09日 15点05分 8
level 9
噢,明白了,你没设置边框粗细,所以看贴到了内框。在table 里加上bord="5px solid #CCC"试试
2014年05月09日 15点05分 9
不是那个问题 我边框给了值 1
2014年05月09日 15点05分
level 5
赞一个
2014年05月10日 03点05分 10
level 11
亲测,<body><table width="100" height="100" border="1" align="center" cellpadding="10" cellspacing="5" bordercolor="#FF00FF" >
<tr>
<td bordercolor="#996633" >
表格当中的元素
</td>
</tr>
</table>
</body>
显示正常即你要的内外边框颜色不一样,代码没问题,找其他原因吧
2014年05月10日 08点05分 11
我就是再找其他原因 不知道哪里有问题 我用的是dw 8
2014年05月10日 09点05分
level 11
使用是dw CS5!
2014年05月10日 08点05分 12
level 9
<table width="100" height="100" border="1" align="center" cellpadding="10" cellspacing="0"style="border:5px solid #FF00FF" >
2014年05月10日 13点05分 13
level 9
单元格边距(表格填充)(cellpadding) -- 代表单元格外面的一个距离,用于隔开单元格与单元格空间;
单元格间距(表格间距)(cellspacing) -- 代表表格边框与单元格补白的距离,也是单元格补白之间的距离;
2014年05月10日 13点05分 14
好的好的 谢谢你!!
2014年05月10日 13点05分
1