homepage Welcome to WebmasterWorld Guest from 54.167.138.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
Space between images
Shreya




msg:4500560
 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




msg:4500565
 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

Shreya




msg:4500572
 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