Reputation:
I have a problem to draw the underline in this alphabet p, y, g, j. It cannot direct show the underline in this alphabet. Hope someone can guide me how to solve it.
Below is my coding:
<td style="text-decoration: underline;"><span style="color:blue;">126-1 jjj</span></td>
The output is shown like below the picture:
I want the expected result like below the picture:
What I've tried the coding:
<td style="display: inline-block; border-bottom: 1px solid #000;"><span style="color:blue;">126-1 jjj</span></td>
The output is shown me like below the picture, but the table format not same with original:
Upvotes: 0
Views: 557
Reputation: 2851
Not sure if this satisfy your requirement.
span {
color: blue;
text-decoration: underline;
text-underline-position: under;
}
<td><span>126-1 jjj</span></td>
Upvotes: 5