[2005] Different outputs from IE7 and FireFox
Please create a table and add two columns and centralize the table in the page and add some text like 123 to each column and finally centralize the text in each column too.
Now compare the output in firefox and IE7
Don't you notice that firefox displays the table correctly while IE7 doesn't display it correctly ?
IF that's true , can you confirm and can someone explain what's causing this , this is my html code:
Code:
<body >
<form id="form1" runat="server">
<table style="width: 681px" align="center">
<tr>
<td style="width: 100px; text-align: center;">
123</td>
<td style="width: 100px; text-align: center;">
123</td>
</tr>
</table>
</form>
</body>
http://www.rakpolice.com/example.JPG
Re: [2005] Different outputs from IE7 and FireFox
didn't any one try it :- \
Re: [2005] Different outputs from IE7 and FireFox
your table is 681px width, it consists of 2 cells each is 100px which leaves 481px unused. so it's your error not IE's to be fair
Re: [2005] Different outputs from IE7 and FireFox
he's right. IE centered it based on the 100px.
Firefox centered it based on the actual size. You need to adjust your numbers.