wood burning stoves 2.0*
The moose likes JSP and the fly likes Is HTML table cell width adjustable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Is HTML table cell width adjustable?" Watch "Is HTML table cell width adjustable?" New topic

Is HTML table cell width adjustable?

Jen Yang

Joined: Jul 07, 2003
Posts: 11
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

Joined: Jan 10, 2002
Posts: 60782

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).

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Is HTML table cell width adjustable?
Similar Threads
HTML table uniform row size..
How to control the width and height for a submit button with ie?
Element Shift Problem in Dynamic Form
Component Cell Width
wrapping issue