0

I want to make a triangle as described in the image.

Image with triangle to the bottom

<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 : As I am making HTML Emailer , so can't use position , div , after: , before. I have to use table and inline-css , only.

Any help would be great.

Thank You.

1 Answers1

0

Here you go:

<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>
        <td>
            <span class="arrow" style="margin-left:-100px; width: 0; height: 0; border-top: solid 5px #EE163A; border-left: solid 5px transparent; border-right: solid 5px transparent; display: block; margin-top: 37px;"></span>
        </td>
    </tr>
</table>
aavrug
  • 1,849
  • 1
  • 12
  • 20