Filed Under (Css) by admin on October-11-2008

border aroundage the image

Its really a lengthy process to add the border or duble border around the image. CSS trick makes this easier and easy to edit. Just follow the steps below.


Example:

STEP ONE: Paste this code into the HEAD of your HTML document

<style>

.imgborder{ border:1px solid #666666; padding:2px;}

</style>

STEP TWO: Paste this code into the BODY of your HTML document

<img src="imagename.gif" width="" Height="" class="imgborder">


Comments
James Kewit on January 24th, 2008 at 11:11 am #

this is a small code but really worth it when you are working with many images….thnx sayeed

kapil on August 7th, 2008 at 8:12 am #

sayeed you are relly a great person .I really apprettiate.Kya site banayee hai guru.

Post a comment
Name: 
Email: 
URL: 
Comments: