Yeah, MindBridge and I tried doing that a while back....The only blocker for not being able to do it in pure css was that there was a requirement that some people can't have the <th> text break up onto multiple lines.
If the css limitation still prevents this, I'm sure a little js could satisfy this requirement, though I'm thinking more and more that this is a very odd requirement, and that since (I'm boldly guessing here) probably 80% of the use cases don't have enough text in their th's to warrent worrying about line breaks (esp since you can control the min width of each th individually) it doesn't seem fair to make 80-90% of people work aronud what is only a 10% use case. Or am I wrong? On 3/8/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Right now the column text and image are in separate table cells. What I > changed made the ability to align (and in fact style completely) in the > CSS more clean. I'm still looking into being able to strip that second > table data out so there's only 1 with either text or text and image in > it to keep the two (if the column's sorted) closer together. > > Anyone see any issues with that approach off the top of their head? > > Jesse Kuhnert wrote: > > There is now thanks to Brian K. Wallace. If you do a checkout of the > > 4.0branch you will find that there are no manual style specs set on > > the table > > header anymore. Instead they are defined as css classes. (there is one > > inline <style></style> tag but that can't really be helped..at least in > the > > interest of not breaking anything..) > > > > The docs have been updated for the table component as well, so if you > feel > > like building tapestry you'll get to see it. > > > > > > On 3/8/06, Ryan Holmes <[EMAIL PROTECTED]> wrote: > >> width:100% doesn't really work with sortable columns because the arrow > >> image gets pushed to the far right of the header (depending on your > >> particular layout and content). Unfortunately, I'm back to the hack I > >> posted earlier. I think "float: left" works in IE and "margin-left: > 0px" > >> in Firefox: > >> > >> table.myTableClass th table { > >> margin-left: 0px; > >> float: left; > >> } > >> > >> It would be nice if there was a cleaner way to do this... > >> -Ryan > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (MingW32) > > iD8DBQFED4lcaCoPKRow/gARAuRzAJ0UX0GWGH0Hw5JeBSRQ0rP2U7F5XgCeKNM3 > beam9lHCPbfj1RWp17d+pps= > =UvZb > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >