• Skip to main content
  • Skip to after header navigation
  • Skip to site footer
Knowledge Base

Knowledge Base

Practical help for digital teaching

Resources

  • Knowledge Base
  • Kick Start
  • Free Resources
  • AI in Education
  • Log In

7 October 2021

Canvas Everything Skills Articles

*Screenshots may differ to what you see, depending on whether you have a PC or Mac.

Adding space around an Image

How to add space or padding around images on Canvas.

  1. Click Edit and switch to HTML Editor
  1. Locate the HTML code for the image(s) you’d like to adjust. Use Control+F or Command+F (Mac) to search for <img  to make it easier to find.
  2. Locate the image’s style attribute inside the img tab. If the image doesn’t have one, you can add one by typing style=”” after img.
  3. Within the quotation marks, add padding: 10px;. If there is another style attribute, separate them with semicolons (e.g. style= float: right; padding: 10px; “)
  1. Switch to the Rich Content Editor and select your image; you should be able to see a 10 pixel space (border) around the image.

Selective Padding

In the instructions above, a 10 pixel space was added to the image on all sides. However, you can add padding selectively by using padding-bottom, padding-left, padding-right, and padding-top and changing the size of the space (padding).

For example:

style=”padding-left: 10px; padding-bottom: 20px;”

style=”padding-right: 20px; padding left: 20px;”

style=”padding-top: 15px;”

Watch the 60 Second How To video which shows you how to add padding

Sidebar

Knowledge Articles

Resource Categories

Signup to Mildly Interesting

Stay updated on the latest developments from our Academic Partners team, as well as insights from our Quality Team on updates and policies shaping the educational landscape. Don't miss out—sign up today to stay informed!

* indicates required
/* real people should not fill this in and expect good things - do not remove this or risk form bot signups */


Need More Help?

Copyright © 2026 · Manukau Institute of Technology · Crafted by Responsive

Your cart (items: 0)

Products in cart

Product Details Total
Subtotal $0
View my cart
Go to checkout

Your cart is currently empty!

Start shopping

Notifications