Answer the question
In order to leave comments, you need to log in
Round image with style?
I am designing the html version of an email. There is the following code:
I can't add style to img itself, since it is displayed through the [img] shortcode. Tried rounding like this:<span><img src="..." /></span>
<span style="border-radius: 50%;"><img src="..." /></span>
Answer the question
In order to leave comments, you need to log in
<span style="border-radius: 50%;overflow:hidden"><img src="..." /></span>
use css and classes rather than style
html:
css:.round > img {border-radius: 50%}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question