html中怎么去掉表格边框线的?

2025-04-08 16:11:21
推荐回答(1个)
回答1:

border="0"可以去除边框以下是关于border的一些相关资料:定义和用法border
属性在一个声明中设置所有边框属性。语法:Object.style.border=borderWidth
borderStyle
borderColorborderWidth
设置边框的宽度。
thinmediumthicklengthborderStyle
设置边框的样式。
nonehiddendotteddashedsoliddoublegrooveridgeinsetoutsetborderColor
设置边框的颜色。
color-namecolor-rgbcolor-hextransparent实例本例改变元素的边框:type="text/css">p{
border:
thin
dotted
#FF0000}type="text/javascript">function
changeBorder(){document.getElementById("p1").style.border="thick
solid
#0000FF";}type="button"
onclick="changeBorder()"value="Change
border"
/>id="p1">This
is
a
paragraph