Call Us : 0845 519 0437

Email Us


26
Sep

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:

  1. Giving your blockquotes more style
  2. Google Adsense clarifies policy on images near ads
  3. Royalty Free Images
  4. Make a simple diagonal page background using photoshop and css
  5. How to create unobtrusive Javascript popups

Category : Blog / CSS