Jump to content

Table contents appear far left in IE8, centered in IE7


Chrisj

Recommended Posts

This table 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

 

<table id="tab999">
<tbody>
<tr><td>
<p><font face="verdana"><font size="3";font color=#800000;"><u>Purchase</u></font>
<table>
<tr>
<td width="100px"><font size="3" color="#000000" face="Arial">   <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="payment/paypal1.php" method="post">
<input type="hidden" value="[var.users_id]" name="usersid">
<input type="hidden" value="[blk1.credit_amt]" name="credit">
<input type="hidden" value="Item" name="item">
<input type="hidden" value="[blk1.value]" name="value">
<input type="image" value="[blk1.value]" name="value" src="https://www.paypal.com/checkout.gif" align="bottom" />
</form>
</td>
</tr>
</table>
</td></tr>
</tbody>
</table>

 

CSS:

#tab999 {
width:770px;
height:400px;
float:center;
clear:left;
margin:0px 0px 0px 0px;
font-size: 12px;
padding:10px 10px 10px 10px;
border:1px solid #153e7e;
}
#tab999 td {
border: 1px solid #CACACA;
padding:0px 0px 0px 0px;
}

Link to comment
Share on other sites

Between the fact that you are using tables for non-tabular data, and deprecated tags, you can't really expect to get cross-browser compatibility between older browsers and newer browsers. If you are going to do things the old way, then it's best to pick either the older browsers or the newer browsers, and make it work in one of them.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.