I have this CSS:
#center{
display:table-row;
border:solid #55A 1px;
background-color:#AAF;
height:100%;
}
Actually, the border property is just ignored. Why? How can I Fix it?
DEMO
Thanks
You can use the box-shadow property to fake a border of a tr element. Adjust Y position of box-shadow (below represented as 2px) to adjust thickness. Voting is disabled while the site is in read-only mode. Voting is disabled while the site is in read-only mode.
Solution with the CSS border-bottom property If you want to add a border only to the bottom of the table row, you can apply the CSS border-bottom property to <td> elements that are placed within a <tr> tag.
To add border radius to a table row tr , you have to specifically target the first table data td on the row and the last. This Pen is owned by Temitope Ayodele on CodePen.
Table rows can't have borders. Cells within a table row can, but the row itself cannot.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With