Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Space between images



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


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="#" />

css here:

{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 Sep 27, 2012 (gmt 0)

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

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 Sep 27, 2012 (gmt 0)

yes it's work. Thank u so much.

Featured Threads

Hot Threads This Week

Hot Threads This Month