I am trying to create a triangle shape similar to the one shown in the image.
https://i.sstatic.net/wd4nZ.png
<table>
<tr>
<td align="left" valign="top" style="padding-top: 10px; padding-left: 0px;">
<span style="background: #EE163A !important; width: 100px; font-size: 15px; text-align: center; vertical-align: middle; color: #FFFFFF;padding: 10px 70px; "> DAY 1</span>
</td>
</tr>
</table>
PS : Since I am working on an HTML Emailer, I am restricted to using only table
and inline-css. I cannot use properties such as position
, div
, after:
, or before
.
Any assistance would be highly appreciated.
Thank You.