To add border around images you need to write simple codes of CSS. With these codes you can easily add different kinds of borders having any colors that you want.
The very first thing you need to do is to login to Blogger.com >> Template >> Edit HTML >> Search for the b:skin>> tag. After finding the skin tag, just above it paste the following code:
.post img {
border:5px solid #d2d2d2;
padding:2px;
}
In the above code you can change the #d2d2d2 with any other hex color to alter the color of your border. You can also increase the above 2px to a higher number to increase the blank space arround the border.
Furthermore you can also use different types of borders in your images, following are some border types that you can use:
- solid: Defines a solid border
- dotted: Defines a dotted border
- dashed: Defines a dashed border
- double: Defines two borders. The width of the two borders are the same as the border-width value
- groove: Defines a 3D grooved border. The effect depends on the border-color value
- ridge: Defines a 3D ridged border. The effect depends on the border-color value
- inset: Defines a 3D inset border. The effect depends on the border-color value
- outset: Defines a 3D outset border. The effect depends on the border-color value
Once you are done customizing your image border, press the "Save Template" button present at the very top of your screen.
About the Editorial Team
The Editorial Team of MyBloggerLab consists of a group of Professional Blogger geeks Led by Syed Faizan Ali (Founder of MyBloggerLab).
2 comments
Thanks! Looking for this. Other bloggers giving so much code.
Thanks, it helped
https://globallords.blogspot.com.ng/2016/06/how-to-activate-glo-1gb-data-for-n100.html?m=1
Post a Comment
We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.