Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

supported firefox - how can write table row set a border-top css properties.

more options

tr.lines td.line{

   width : 1px;
   height : 35px;
   width : 1px;
   height : 35px;

}

tr.lines td.top {

   border-top : 4px solid #B0C4DE;

}

tr.lines td.left {

   border-right : 2px solid #B0C4DE;

}

tr.lines td.right {

   border-left : 2px solid #B0C4DE;

}

tr.lines td.line{ width : 1px; height : 35px; width : 1px; height : 35px; } tr.lines td.top { border-top : 4px solid #B0C4DE; } tr.lines td.left { border-right : 2px solid #B0C4DE; } tr.lines td.right { border-left : 2px solid #B0C4DE; }

All Replies (3)

more options

What's the problem, is that leaving gaps? Do you have a demonstration page online showing how you have applied the class names to your HTML?

more options
line 
.top
.left
.right
if class of <TD> tag

Modified by cor-el

more options

Try posting an entire table, please. If you do not have convenient hosting, you can use http://jsfiddle.net/ and show both the HTML and the CSS.