Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

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; }

Toutes les réponses (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

Modifié le par 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.