We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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.