Issue
I have a cell in a table like this:
<td><b>Grand Total</b></td>
I need to give it a line under the text "Grand Total". I used text-decoration: underline;
. It worked well, but I need to change the color and thickness of the underline. I used text-decoration-color: red;
to add color but it doesn't work. How can I solve this problem?
Solution
use border-bottom
define color cording like this
b {
border-bottom: 1px solid red;
padding: 0 0 4px;
}
<td><b>Grand Total</b></td>
Answered By - lalit bhakuni
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.