Add a border to an image

Introduction
 
Adding a border to an image is done by adding "padding" around the image through HTML.
 
 
You'll need
  • User account with author role or above
  • Basic HTML knowledge
 
Steps
  1. Add an image to your post.
  2. In the post editor, click the Text tab to display the text version of your post.
  3. Find the HTML image code. It begins like this: <a href="http://yourblogaddress... /></a>
  4. Add this code right before the closing /></a> tags: style="padding:20px; background: black; border: none". Your code should now look similar to this: 
  5. Adjust the border width by changing the numerical value in padding:20px.
 
Related information
Have more questions? Submit a request

0 Comments

© LexBlog | Terms of Service | Privacy Policy