This should give you 2 images in row with space of 20px between each other
-
<div id="imgwrap" style="width:500px; margin-left:auto; margin-right:auto;">
-
<div id="image1" style="width:240px; float:left;"><!-- image here --></div>
-
<div id="image2" style="width:240px; float:right;"><!-- image here --></div>
-
</div>
-
What I did is I made a div with width of 500px and aligned it in the middle of the page, then inside that div I made 2 other ones and floated one
right and
left each of those div's is 240px so 480px together and as the father div
imgwrap is 500px you would have 20px in the middle between 2 pictures. if you do reaserch on
float option for styling, you will understand how to position divs.