homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Space between images

Msg#: 4500558 posted 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.



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

Msg#: 4500558 posted 10:58 am on Sep 27, 2012 (gmt 0)

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


Msg#: 4500558 posted 11:03 am on Sep 27, 2012 (gmt 0)

yes it's work. Thank u so much.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved