GeeCON Prague 2014*
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
Author

Is HTML table cell width adjustable?

Jen Yang
Greenhorn

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

Joined: Jan 10, 2002
Posts: 61315
    
  66

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Is HTML table cell width adjustable?