This week's book giveaway is in the iOS forum.
We're giving away four copies of Classic Computer Science Problems in Swift and have David Kopec on-line!
See this thread for details.
Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is HTML table cell width adjustable?  RSS feed

 
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.
 
Author and ninkuma
Marshal
Posts: 66607
161
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
Boost this thread!