Is there a way to do border color once instead of inputting it 3 times?

<img src="https://i.imgur.com/NdpnmZw.png" style="margin-left: -4px; border-top: solid 5px #38761d; border-bottom: solid 5px #38761d; border-right: solid 5px #38761d" />

Try this.

<img src="https://i.imgur.com/NdpnmZw.png" style="margin-left: -4px; border: 5px solid #38761d; border-left:0; " />

But I don’t think the border attribute is supported in html5. I may be wrong. Using css would be easier.

1 Like

Use CSS

3 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.