-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sounds reasonable. (and yeah, I had to try it before replying ;-) )
One thing I've been fighting with in this regard is the header class. I think as it was, it worked for 80-90% of the people, but it was too hard for the remaining 10-20%. Now that I've been looking at the whole structure under different conditions, I think it's 100% too hard for 100% of the people who deal with CSS and localization due to the way the header's class is named. I'm not done with this, but what I'm looking at now is a completely different issue that will hopefully get us back to easier for everyone in all (read: most) situations. Jesse Kuhnert wrote: > 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: > 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 >> - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] >> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) iD8DBQFED5aOaCoPKRow/gARAv7MAKD1+lZy9fhGxGp62keBd57GDxg3fQCeIYvg zK7TbZZKeQRGKMlUSFSlqWw= =oHjb -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]