Solved

Tables displaying right in firefox but not in IE

Posted on 2008-06-12
3
199 Views
Last Modified: 2011-10-19
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
Comment
Question by:Sadsan
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
Iced-evil earned 500 total points
ID: 21769195
Try to add "table-layout: fixed;" to your table style
0
 

Author Comment

by:Sadsan
ID: 21769345
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
 
LVL 6

Assisted Solution

by:Iced-evil
Iced-evil earned 500 total points
ID: 21769485
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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now