ok, but why the nested tables at all?  why not just

<tr>
  <th>header</th>
</tr>



On 1/9/06, Mind Bridge <[EMAIL PROTECTED]> wrote:
>  > this causes all sorts of problems when you have CSS applying padding
>  > and borders to tables...on top of that the inner table "align"
>  > attribute is invalid XHTML Strict
>
> The "align" has already been removed in the version on my machine and
> the change will be checked in when possible.
>
> And a quote from an earlier email:
>
> -------- Original Message --------
> Subject:        Re: changing the table column renderer
> Date:   Mon, 12 Sep 2005 19:11:57 +0300
> From:   Mind Bridge <[EMAIL PROTECTED]>
> Reply-To:       Tapestry users <[email protected]>
> To:     Tapestry users <[email protected]>
> References:     <[EMAIL PROTECTED]>
>
>
> The first person who provides me with HTML that has the following properties 
> wins <table> free column headers:
>
> - the column title may be more than one line, as it it may be long and
> may be wrapped by the browser
>
> - the sorting icon needs to be always on right of the column title, even
> if it wraps
>
> - the solution must work okay in multiple brosers and even when changing the 
> width of the broser
>
> - the basic properties of the header can be changed with the customer CSS
>
>
> Just in case you were wondering, I have been trying to achieve the above with 
> CSS only. Even though various solutions (some suggested on this list as well) 
> work okay in the majority of cases, the results are frequently unacceptable. 
> This especially applies to wrapping and the icon location.
>
> In contrast, <table> works rather well everywhere and in all cases, hence its 
> use.
>
> -mb
>
>
>
> jeff emminger wrote:
> > why is it that the contrib:Table renders its <th> headings as entire
> > new table within the th?
> >
> > some rendered html source from the Table example at
> > https://tapestrywebcomponentexamples.dev.java.net:
> >
> > [snip]
> > <table class="mytable">       <tr>
> >
> > <th class="BirthDateColumnHeader">
> >       <table border=0 cellspacing=0 cellpadding=0 align="center">
> >       <tr>
> >       <td><a 
> > href="/TapestryTables/app?service=direct/1/DirectLinkTableColumn/contrib:SimpleTableColumnPage/tableColumnComponent.linkColumn&sp=ADirectLinkTableColumn%2Ftable.tableView&sp=SBirthDate">Birth
> > Date</a></td>
> > <td><img 
> > src="/TapestryTables/app?service=asset&sp=S%2Forg%2Fapache%2Ftapestry%2Fcontrib%2Ftable%2Fcomponents%2Finserted%2Farrow-up.gif"
> > border="0" align="center"/></td>      </tr>
> >       </table>
> >
> >
> > </th>
> >
> > <th class="SSNColumnHeader">
> >       <table border=0 cellspacing=0 cellpadding=0 align="center">
> >       <tr>
> >       <td><a 
> > href="/TapestryTables/app?service=direct/1/DirectLinkTableColumn/contrib:SimpleTableColumnPage/tableColumnComponent.linkColumn&sp=ADirectLinkTableColumn%2Ftable.tableView&sp=SSSN">SSN</a></td>
> >       </tr>
> >       </table>
> >
> >
> > </th>
> > [/snip]
> >
> > this causes all sorts of problems when you have CSS applying padding
> > and borders to tables...on top of that the inner table "align"
> > attribute is invalid XHTML Strict
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to