Magznetwork RSS Feed
Subscribe

Subscribe RSS Feed
Subscribe Email

SUPPORTS ARE AVAILABLE AT MAGZNETWORK FORUM

CSS Tutorial: Adding border line for the images in blog posts

2 July 2008 4 Comments

This post is special for Ilyas Kazi.

Adding border line for the images is very easy. You only need simple CSS technique. The basic CSS for this case is,

img {
padding:5px;
margin:5px;
border-width: 5px;
border-color: #0066CC;
border-style: single;
}

Feel free to modify parameters in the CSS code above. There are many different “border-style” parameter. Which one do you like?

CSS - Border Style

The CSS code above will be applied to all of your images in your web pages. To give border line only for the images in your blog posts, you have to read the implementation for both Wordpress and Blogger below. Read the rest of this entry »

Blogger, Blogger Hacks, Wordpress, Wordpress Tutorials
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Facebook
  • TwitThis
  • bodytext
  • del.icio.us
  • StumbleUpon
  • Propeller
  • Technorati
  • Sphinn
  • Reddit
  • Google
  • Live
  • YahooMyWeb
  • BlinkList
  • Slashdot
Rate this:
2.5



Magznetwork RSS Feed
Subscribe

Subscribe RSS Feed
Subscribe Email