You are here: Re: Tables: Fixing the column widths absolutely ? « HTML « IT news, forums, messages
Re: Tables: Fixing the column widths absolutely ?

Posted by Alan Searle on 10/18/07 15:56

Bergamot wrote:
> Alan Searle wrote:
>> I have a table which, in order to line up with other information, needs
>> to have very exact column widths.
>
> Sounds like a design flaw. Post a URL.

I've reduced my HTML right down to the bare bones to illustrate my
problem. What tends to happen is that, if there are spaces, then the
cell retains its correct size but as soon as longer text appears, the
column-sizing goes haywire.

I've posted a simple example below where I would like column 02 to keep
the declared width of 66.

Any ideas here?

I'll try experimenting with Neredbojias suggestions (next posting) and
will report back.

Regards and thanks,
Alan Searle

<html>
<head>
</head>
<body>
<table width="198">
<tr bgcolor="#dddddd" VALIGN="TOP">
<td align="LEFT" width="66">Col01</td>
<td align="LEFT" width="66">Col02</td>
<td align="LEFT" width="66">Col03</td>
</tr>
<tr>
<td align="LEFT" width="66">aaa</td>
<td align="LEFT" width="66">the_rain_in_spain_stays_mainly</td>
<td align="LEFT" width="66">ccc</td>
</tr>
</table>
</html>
</body>

 

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

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