BleepingComputer.com: Table width problem

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Table width problem

#1 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 21 October 2010 - 12:48 AM

Hi guys,

I'm starting a website for a local company, so far it is all done in HTML. It is all positioned nicely in all browsers except for IE8 (works ok in compatibility mode though??).

I have a table with 5 columns which I have a fixed width (<td width="20px"></td>). The widths are as follows:

column 1: 150px
column 2: 20px
column 3: 295px
column 4: 295px
column 5: 20px

All of which add up to equal 780px which I have specified in the <table> tag.

For some reason when viewed in IE8 without compatibiliy mode the widths jump around and don't display as I want them to. A link is avaliable url="http://202.45.110.174/wsa"]here[/url]. Any ideas would be greatly appreciated!

Cheers,

KamakaZ
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

#2 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,605
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 21 October 2010 - 07:12 AM

But your table also has a cell padding of 10.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#3 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 21 October 2010 - 05:33 PM

That was the main table around the table I'm talking about, I have a table going around the table I mentioned before to center the content and the padding is to push it off the top/bottom of the page.

My HTML and CSS validated OK.
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users