Add Padding to an Image

Submitted by Roy Wagner on May 07, 2016 - 12:35 am

To add padding to an existing image, add this attribute to the existing image tag:  style="margin: 0px 20px 10px 5 px"

The above would add opx top padding, 20px right padding, 10 px bottom padding and 5 px left padding. The order is clockwise starting at the top. To add margin to only the right side: style="margin: 0px 20px" and so on. 

Update: 10/21/2017. CTHS Subtheme One now automatically applies left margin to a right justified image and right margin to a left justified image.