Hi Dwi.

i already try and read the tapestrytable.war

I just wanted to make sure you got it working.

Having a tutorial that is also a working Tapestry app is very useful.
(It would be great if there were more of these ...)

thnx for answering my question

Well, I didn't answer your question, but looking at the tutorial again,
it seems CSS isn't covered much. Only the class and rowsClass parameters
for the table component.

Look at the source for a Tapestry generated page with a table, and you'll
see that a table basically has this format:

<table class="MyClassParameter">
...
    <tr class="MyRowsClassParameter">
        <td class="MyColumnNameColumnValue">...</td>
        ...

The td class attributes are automatically generated from the names you give
to your columns. So to answer your question:

<table>
<tr>
   <td width="200">
  <td width="100">
<tr>
</table>

You need to define some CSS that sets widths using the class names for the
columns you have in your table, so in your .css file put e.g:

th.MyColumnNameColumnValue
{
    width: 28px;
}

There are probably other ways to do it, and I'm no CSS whizz, but that works.

Cheers,
Nick.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to