Welcome to WebmasterWorld Guest from 54.226.110.143

Forum Moderators: not2easy

Message Too Old, No Replies

Space between images

     
10:41 am on Sep 27, 2012 (gmt 0)

New User

joined:Sept 21, 2012
posts:14
votes: 0


Hi,

my code is given below;

<div class="imgzone">
<img src="images/service-box.png" alt="#" />
<img src="images/service-box1.png" alt="#" />
<img src="images/service-box2.png" alt="#" />
</div>

css here:

.imgzone
{margin:5px 0px 0px 0px;}

i want to need space between 3 images what can i do ? n what is the code of css ? plz help me.
10:58 am on Sept 27, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2002
posts:3206
votes: 13


try something like:

.imgzone img{margin:5px;}

this should give all images which are in a div with a class imgzone a margin of 5px
11:03 am on Sept 27, 2012 (gmt 0)

New User

joined:Sept 21, 2012
posts:14
votes: 0


yes it's work. Thank u so much.