Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Archived

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

gaurav panchal

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)

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?

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

Modified by cor-el

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.