Html:
<section id="grid">
<aside class="grid">
<img class="img" src="i/img.jpg" />
<p></p>
</aside>
<aside class="grid">
<img class="img" src="i/img.jpg" />
<p></p>
</aside>
<aside class="grid">
<img class="img" src="i/img.jpg" />
<p></p>
</aside>
</section>
css:
#grid{
margin:50px 0 0 10px;
width:100%;
text-align:center;
}
.grid{
margin-left:20px;
margin:0 auto;
width:300px;
}
How to place this sections in one line and centered?
I hope this is what you wanted: http://jsfiddle.net/thirtydot/ypce8/
My answer is more complicated than it could have been for two reasons: