You are here: column width won't behave « HTML « IT news, forums, messages
column width won't behave

Posted by Ben on 10/13/05 15:41

Hi
I have a report that I need to display in a table format, and the field
lengths vary for all of the columns. For the majority, I am happy for
the width to just adjust according to the width of the text, but I
don't want the text to go onto the next line where there is a space
(unless it's a really long field). here is my table header

<table border="1" cellspacing="0" cellpadding="5" width="100%">
<thead>
<tr>
<td>Contract#</td>
<td>Order#</td>
<td width='200'>Description</td>
<td>Style</td>
<td>Colour</td>
<td>Units</td>
<td>Price (R)</td>
<td width="30">Value (R)</td>
</tr>
</thead>

no matter what I set the width to for the description field, it comes
out looking exacly the same.

can anybody tell me what I'm doing wrong?
thanks!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация