Click to See Complete Forum and Search --> : Tables
Calmaris
04-04-2003, 10:01 AM
I have a page that displays the contents of a record in a database that when displayed, if the contents are very long it stretches the table's length across the whole page and looks very ugly how do you set the table so that it only expands downward not across.
gil davis
04-04-2003, 10:12 AM
Tables always size to their contents. It only knows how to break on space boundaries. If there are no spaces in your data, you'll have to find another way to display it.
Nedals
04-04-2003, 01:19 PM
It only knows how to break on space boundaries. If there are no spaces in your data, you'll have to find another way to display it.Expanding:
If you do have spaces then add "width=xxx" in your table tag. If your table has multiple cells and you already have a table width defined, then add a "width=xxx" to the <td> tag of the cell containing the data. If there are no spaces, follow gil's advice.
khaki
04-04-2003, 01:55 PM
okay...
before we go any further with this thread here... please be advised that it is a double-post and is currently being address in the ASP forum:
http://forums.webdeveloper.com/showthread.php?s=&threadid=7206
this thread should be closed.
Richard1
04-07-2003, 08:38 AM
This looks like an HTML question which belongs in this category if I'm not mistaken.
You can use a width=XXX in either the table tag or in the
table data tag as shown below.
<td width="XXX">
Richard1
04-07-2003, 08:44 AM
Just to avoid any confusion I've moved the doubled thread in the ASP Forum to the HTML category. Thanks.
Rich