Tables displaying right in firefox but not in IE

Hi

Ive got a problem displaying my website in IE, all my tables are formatted right when I preview it in firefox but as soon as I try it in IE, it re-sizes then.

Also Im having trouble fixing the size of my tables. I like them to keep there size and not re-size when ever I add content.

Ive attached the coding. Any help would be great cheers

Si

help.txt
SadsanAsked:
Who is Participating?
 
Iced-evilCommented:
Try to add "table-layout: fixed;" to your table style
0
 
SadsanAuthor Commented:
hi

Thanks for the reply,

Where abouts would i add that, i'm a bit of a novice with HTML, this has all been done in the design view
0
 
Iced-evilCommented:
At the top between your style tags check for :

.Main_logo {
      background-image: url(images/mainlogo.png);
      background-repeat: no-repeat;
      background-position: left center;
}

And add the following below it:

.MyTable {
               table-layout: fixed;
}

Then look for your table tag and add the class to it like below:

<table class="MyTable" width="864" border="0" cellpadding="0" cellspacing="0">



or the fast not so elegant way:
<table style="table-layout: fixed;" width="864" border="0" cellpadding="0" cellspacing="0">



additional formatting, layout can also be added have a look on google for html, style, css
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.