Add a border to an image

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
  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


© LexBlog | Terms of Service | Privacy Policy