This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is HTML table cell width adjustable?

 
Jen Yang
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I used the following tag:
<td width=100>
No matter what value I give to the width attribute, the cell width always stays the same, that is as fit as possible to the string I have in that cell. Is there anyway I can adjust the width? Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are many dynamics which govern table layout which could cause the browser to override your width setting.
This is hardly a JSP question. I'd recommend you repost your question in the HTML/Javascript forum with more information about how the table as a whole is coded. (Please be sure to use the UBB code tags).
hth,
bear
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic