Welcome to WebmasterWorld Guest from 54.163.52.98

Forum Moderators: not2easy

Message Too Old, No Replies

Space between images

     

Shreya

10:41 am on Sep 27, 2012 (gmt 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.

topr8

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

Shreya

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