Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Table width problem


  • Please log in to reply
2 replies to this topic

#1 KamakaZ

KamakaZ

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:04:56 PM

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

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.


BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:11:56 PM

Posted 21 October 2010 - 07:12 AM

But your table also has a cell padding of 10.

#3 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:04:56 PM

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.

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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users