14, February 2012

Table contents appear far left in IE8, centered in IE7 - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  CSS (Moderator: Meth0d)
Topic: Table contents appear far left in IE8, centered in IE7
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Table contents appear far left in IE8, centered in IE7  (Read 1511 times)
My name is Bong, James Bong
*
Posts: 12
116 credits
Members referred : 0


« on: Jan 14, 2010, 06:19:14 am »

This table's contents appears centered in IE7, but appears all the way to the left side of the table in IE8.
Can you help me resolve this issue so it looks centered in IE8? Thanks.

Code:
<table id="tab999">
<tr>
<td width="100px"><font size="3" color="#000000" face="Arial">&nbsp;&nbsp;&nbsp;<u>Amount</u></font></td>
<td width="100px"><u><font size="3" color="#000000" face="Arial">Cost</font></u></td>
<td width="100px"><u><font size="3" color="#000000" face="Arial">Purchase</font></u></td>
</tr>
<tr>
<td>[blk1.name;block=tr]</td>
<td>
0.10
</td>
<td>
<form action="pay/paypal1.php" method="post">
<input type="hidden" value="[var.user_id]" name="uid">
<input type="hidden" value="[blk1.cred_amt]" name="cre">
<input type="hidden" value="Item" name="item">
<input type="hidden" value="[blk1.value]" name="valu">
<input type="image" value="[blk1.value]" name="valu" src="https://www.paypal.com/Checkout.gif" align="bottom"/>
</form>
</td>
</tr>
</td>
</tr>
</table>

CSS:

Code:
#tab999 {
      width:360px;
      margin:0px 0px 0px 0px;
      text-align:center;
      font-size: 12px;
      padding:10px 0px 30px 0px;
      border:1px solid #;
      }
      #tab999 td {
      text-align:center;
      margin:0 auto;
      border: 1px solid #CACACA;
      padding:8px 0px 0px 0px;
      }
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5778
46265 credits
Members referred : 3



« Reply #1 on: Jan 14, 2010, 10:41:01 am »

Try to use margin:auto in the #tab999

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=9568
Tags : table contents Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  Web Page Design  >  CSS (Moderator: Meth0d)
Topic: Table contents appear far left in IE8, centered in IE7
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Feb 14, 2012, 12:22:15 am





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.