Centering bottom banner

Minor but annoying issue.  I can't seem to center the banner at the bottom of www.caltrade.com/members .  I use openads javascript, and have tried putting centered paragraphs tags around this and putting it in a table and centering the table and cell, even putting align="center" after the image tag.  Nothing seems to work- it still seems to be left justified.  Any ideas?

Rob

-

<script language='JavaScript' type='text/javascript' src='http://CALTRADE.com/phpAds/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://CALTRADE.com/phpAds/adjs.php?n=" + phpAds_random);
document.write ("&amp;clientid=50");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&amp;referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://CALTRADE.com/phpAds/adclick.php?n=af5c08b7' target='_blank'><img src='http://CALTRADE.com/phpAds/adview.php?clientid=50&amp;n=af5c08b7' border='0' alt=''></a>

</noscript>

Quote · 4 Sep 2008

Hi Rob!

 

I noticed the that 'td' holding the ad script has a 'align="center"' attribute.

 

For the content of the td to be centered inside the td, I would do this: <td align="center" style="text-align:center;">

Hopefully this will help.

 

Quote · 4 Sep 2008

I probably have to explain the difference between the two:

 

1. td align="center": this would retain the width of the td itself and align it senter in the 'tr' parenting it. In your case, the td did not have a width, and by default, it will inherit the width of the table, or, it takes on a width of 100%.

 

2. td style="text-align:center" : this would center the content of the td inside the td. Note that the td would still be 100% width, but it will display everything that goes inside into the center of the td.

 

Cheers.

Quote · 4 Sep 2008

Yes, that worked.  Thank you for your help Cloodo.

Rob

Quote · 4 Sep 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.