Jump to content

Having Trouble Spacing Pictures


Recommended Posts

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

 

<img style="margin: 0px; width: 214px; display: inline; float: left" border="0" alt="Profile Management Window" src="
/>

</div>

<img style="margin: 0px auto 35px auto; width: 214px; display: block; float: none; clear: left" border="0" alt="Click on New" src="
/>

 

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!

Link to comment
Share on other sites

<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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...