We use CSS code to rounded corners in table in HTML.We can change values of border- radius to get different radius corners.
Code | Result | |
---|---|---|
<table> <tbody> <tr> <td style="border-radius: 10px; border: 2px solid red; height: 25px; width: 100px;"></td> </tr> </tbody></table> |
||
<table> <tbody> <tr> <td style="border-radius: 5px 10px 7px 15px ; border: 2px solid red; height: 25px; width: 80px;"></td> </tr> </tbody></table> |
0 comments:
Post a Comment