1 Replies - 1315 Views - Last Post: 19 October 2010 - 11:21 AM

#1 dklingman   User is offline

  • D.I.C Regular
  • member icon

Reputation: 33
  • View blog
  • Posts: 263
  • Joined: 23-December 08

Table Cell/Table Width Incorrect

Posted 19 October 2010 - 06:24 AM

I've been working with jQuery for quite some time now and I've rarely ran into an issue that I couldn't figure out. However, I'm finally ran into a problem that I can't figure out. When I try and get the width of any cell in a table it's returning a width of 83 or 84. I have the table inside a div that has a width of 757px. I don't have a width set on the table itself, but each cell is set to 100px. I've tried to set the width in a css file and inline neither of which give me the 100px that I'm thinking it should return. I've tried both width(), outerWidth() and innerWidth(). The only one that returns a different number is outerWidth. Could someone tell me if I'm missing something here?

Is This A Good Question/Topic? 0
  • +

Replies To: Table Cell/Table Width Incorrect

#2 Moshambi   User is offline

  • D.I.C Regular
  • member icon

Reputation: 8
  • View blog
  • Posts: 280
  • Joined: 20-November 07

Re: Table Cell/Table Width Incorrect

Posted 19 October 2010 - 11:21 AM

I would love to try and help you out with this. Do you have some code we could look at to solve this issue?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1