Joined September 2014
·

David Steenkamp

Surrey, BC
·
·

An even easier way to do this ... <b>if</b> you are just putting an image in the old fashioned way.. such as:

<a href="image.jpg"><img src="img_sm.jpg" /></a>

just add a new class to the img like so:

<a href="image.jpg"><img src="img_sm.jpg" class="rounded" /></a>

then add this extremely simple css (thx mikezarandona above for the percentage idea):

img.rounded { border-radius: 50%; }

done.

I made a fiddle as well using your coca cola image here: http://jsfiddle.net/WEYEp/

Achievements
1 Karma
0 Total ProTip Views