Hi Viktor,
> i think it would be useful to change the default header generation in
> Contrib:Table. right now it spits out code like this:
> i understand this is for the positioning of the up/down arrows...
> however, this has an unexpected side effect on the CSS handling, eg. if
> you try to make the text bold with .tableColumns { font-weight: bold; }
> - it doesn't get applied to the header text...
I will improve this somewhat, but I really cannot think of how to put the arrow next to the column name nicely in any way other than using a table :(. I am open for suggestions -- if anyone has an idea, please do let me know.
With respect to CSS, I understand that it complicates things somewhat, but here is minor modification that will make it work:
.tableColumns td { font-weight: bold; }
I have to admit that this feature of CSS (styles do not apply to the text in a table and one has to use a context-specific selector like above) has always annoyed the hell out of me. I really cannot see why the table tag must break the general rules.
Is the rest of the Table component behaving as expected?
Best regards,
-mb
Do you Yahoo!?
HotJobs - Search new jobs daily now
