CSS border-top property - html table border bottom

Category

border-bottom-style - CSS: Cascading Style Sheets | MDN html table border bottom


I had a problem like this before. I don't think tr can take a border styling directly. My workaround was to style the td s in the row.

table> border-bottom: 1px solid red"> td>Table Celltd> table > Here's a pure HTML version with inline styles.

The look of an HTML table can be greatly improved with CSS: Add the border- bottom property to and for horizontal dividers.

of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java and XML. The border-bottom-style property sets the style of an element's bottom border. hidden, The same as "none", except in border conflict resolution for table.

Example. Set the style of the bottom border for different elements: h1 { The numbers in the table specify the first browser version that fully supports the property.