Call us

Smarten up your images with borders

CSS no comments yet

You may have noticed that images in my posts have a nice border around them. This is achieved with simple css. In my style sheet, I added the following:

.entry img {
margin: 5px;
border: 1px solid #ddd;
background: #eee;
padding: 5px;
}

This simply means that every image inside the entry class will have the fancy border. You can change the colours and pixel widths to suit your webisite’s design.

Related Posts

Leave a Comment