En resumen:
Código HTML:
<section id="articles_list"> <article> <img class="thumb" src="http://lorempixel.com/300/300/"/> <p class="extract">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vitae ornare erat, vel convallis dui. Morbi in tempus massa. Proin in quam vestibulum, sollicitudin libero et, finibus dolor. </p> </article> <article> <img class="thumb" src="http://lorempixel.com/300/300/"/> <p class="extract">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vitae ornare erat, vel convallis dui. </p> </article> <article> <img class="thumb" src="http://lorempixel.com/300/300/"/> <p class="extract">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vitae ornare erat, vel convallis dui. </article> <article> <img class="thumb" src="http://lorempixel.com/300/300/"/> <p class="extract">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vitae ornare erat, vel convallis dui. </p> </article> <article> <img class="thumb" src="http://lorempixel.com/300/300/"/> <p class="extract">Cras molestie consectetur odio in rhoncus. Sed faucibus convallis quam, at elementum neque pulvinar at. </p> </article> <article> <img class="thumb" src="http://lorempixel.com/300/300/"/> <p class="extract">Maecenas suscipit pulvinar ante nec faucibus. Cras molestie consectetur odio in rhoncus. Sed faucibus convallis quam, at elementum neque pulvinar at. </p> </article> </section>
Código:
/*Articles_list*/ #main #articles_list { clear: both; width:100%; } #main #articles_list article { width:30%; margin-bottom:40px; margin-right:5%; padding-bottom:40px; border-bottom:1px solid #999999; overflow:hidden; float:left; }