2 images horizontally aligned center
Posted: Mon Oct 28, 2013 1:25 am
Hello,
I want to align two images on the same line in the description of my products. I managed unless they are aligned left and impossible to align the center.
Here's the code:
Could you help me please?
Regards,
startom
I want to align two images on the same line in the description of my products. I managed unless they are aligned left and impossible to align the center.
Here's the code:
Code: Select all
<div style="margin: 10px 20px 10px 0px; float: left; text-align: center; color: rgb(0, 0, 0); font-family: 'Trebuchet MS', Verdana, 'Lucida Grande', Tahoma, Helvetica, sans-serif; font-size: 14px; letter-spacing: 0.10000000149011612px;">
<a href="http://cdn.webamine.fr/packweb/images/comment-ca-marche-cours.jpg" style="color: rgb(0, 106, 179); text-decoration: none; font-weight: bold;" title="Exemple de page de cours de code de la route"><img alt="Exemple de page de cours de code de la route" height="150" src="http://cdn.webamine.fr/packweb/images/comment-ca-marche-cours-mini.jpg" style="border: 0px;" width="227" /></a><br />
<span style="font-size: 0.7em; color: rgb(133, 133, 133);">Exemple de page de cours</span></div>
<div style="margin: 10px 20px 10px 0px; float: left; text-align: center; color: rgb(0, 0, 0); font-family: 'Trebuchet MS', Verdana, 'Lucida Grande', Tahoma, Helvetica, sans-serif; font-size: 14px; letter-spacing: 0.10000000149011612px;">
<a href="http://cdn.webamine.fr/packweb/images/comment-ca-marche-test.jpg" style="color: rgb(0, 106, 179); text-decoration: none; font-weight: bold;" title="Exemple de page de test de code de la route"><img alt="Exemple de page de test de code de la route" height="150" src="http://cdn.webamine.fr/packweb/images/comment-ca-marche-test-mini.jpg" style="border: 0px;" width="260" /></a><br />
<span style="font-size: 0.7em; color: rgb(133, 133, 133);">Exemple de test de code</span></div>
Regards,
startom