AspiringWebDesigner Posted April 16, 2010 Report Share Posted April 16, 2010 I just started writing a blog and made my first posting yesterday. Fyi, I'm using blogger. I tried arranging three pictures somewhat like this: Picture____Picture _____Picture_____ I wrapped the first two pictures in a div and centered the div. I also added a bottom margin to the div so that there would be some space between the div and the picture below the div. The only problem is, the margin doesn't show up. The third picture is super close to the top two pictures. I have no idea how to fix this. Here is the code I'm having trouble with: <div style="margin: 30px auto 35px auto; width: 500px"> <img style="margin: 0px 35px 0px 8px; width: 214px; display: inline; float: left" border="0" alt="Tools>Options" src=" http://i988.photobucket.com/albums/af6/pctutorialscostarica/Tools-Options.png" /> <img style="margin: 0px; width: 214px; display: inline; float: left" border="0" alt="Profile Management Window" src=" http://i988.photobucket.com/albums/af6/pctutorialscostarica/Profile_Management_Window.png" /> </div> <img style="margin: 0px auto 35px auto; width: 214px; display: block; float: none; clear: left" border="0" alt="Click on New" src=" http://i988.photobucket.com/albums/af6/pctutorialscostarica/New_Profile.png" /> To see how these pictures look on my blog, scroll down a little past the area titled "Time to Set up Your Modem." Or just use control find . http://pctutorialscostarica.blogspot.com/ Thanks! Quote Link to comment Share on other sites More sharing options...
Andrea Posted April 16, 2010 Report Share Posted April 16, 2010 <img style="margin: 0px auto 35px auto; width: 214px; display: block; float: none; clear: left" border="0" alt="Click on New" src="http://i988.photobucket.com/albums/af6/pctutorialscostarica/New_Profile.png" /> If you increase the margin:0 (when it's zero, you don't need a unit of measure - zero is zero regardless) to 280px (or more) you start getting some space between the images. Like so: <img style="margin: 285px auto 35px auto; ..... I think it has to do with floating the two images above. Quote Link to comment Share on other sites More sharing options...
AspiringWebDesigner Posted April 16, 2010 Author Report Share Posted April 16, 2010 Thank you for your help Andrea. I just finished tweaking the pictures. I would have never figured out what to do without your help. Thank you again Quote Link to comment Share on other sites More sharing options...
asdfghjkl Posted April 19, 2010 Report Share Posted April 19, 2010 Thank you for your help Andrea. So this topic is helpful for others new beginner. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.