|
-
Jul 7th, 2007, 03:11 PM
#1
Thread Starter
Addicted Member
[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>
Last edited by bomayed; Jul 7th, 2007 at 03:20 PM.
-
Jul 7th, 2007, 10:32 PM
#2
Thread Starter
Addicted Member
Re: [2005] Different outputs from IE7 and FireFox
didn't any one try it :- \
-
Jul 7th, 2007, 11:31 PM
#3
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
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 7th, 2007, 11:35 PM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|