I dont know what im doing wrong here, but im having a vertical alignment issue and im hoping a pro can swoop in and help me out quick... I have two scripts. My SSL certificate and my authorize.net seal which I want to display side by side in a side column on my site. This is my current code. I dont like the way it looks because the seal is a taller image., and they are both aligned to the top.. <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"><!-- GeoTrust Smart Icon tag. Do not edit. --> <script language="javascript" type="text/javascript" src="//smarticon.geotrust.com/si.js"></script> <!-- end GeoTrust Smart Icon tag --></div></td> <td><div align="center" class="AuthorizeNetSeal"><script type="text/javascript" language="javascript">var ANS_customer_id="xxxxxxxxxxxxxxxxx";</script> <script type="text/javascript" language="javascript" src="//verify.authorize.net/anetseal/seal.js" ></script></div></td> </tr> </table> Code (markup):
Add top padding to the td with the smaller image to make it look vertically centered. Your code should look like: <td style="padding-top: 3px"> Play with the value until it looks right
You can play with VALIGN attribute of your TD elements. Thepossible values are top middle and bottom i.e. <td valign="top"><div align="center"><!-- GeoTrust Smart Icon tag. Do not edit. --> HTML: