Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

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
0
Sadsan
Asked:
Sadsan
  • 2
2 Solutions
 
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.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now