Add a frame to a picture
-
I write a food blog and had to insert my cropped and resized images into a frame and then publish it to a jpg from photoshop for every single post.
Try this CSS class instead. If you want to see what it looks like, check out the posts here: https://food.sidkhullar.com.
.imgborder img{
background: url(images/img-frame.jpg);
padding-left:34px;
padding-right:35px;
padding-bottom:83px;
padding-top:27px;}
This one of course has been optimised for the border I’m using, however, a little tweaking and your borders too will fit in quite easily.
Just use ‘class=”imgborder”‘ in the table cell where you post your picture.
Hope this helps.
Sid
- The topic ‘Add a frame to a picture’ is closed to new replies.