Put those headers in the thead and tfoot of your table:
<table id="whatever">
<thead>
<th><?= $paginator->sort('id') ?></th>
...
</thead>
<tfoot>
<th><?= $paginator->sort('id') ?></th>
...
</tfoot>
<tbody>
...
</tbody>
</table>
CSS:
#whatever thead a, #whatever tfoot a {}
On Fri, Feb 22, 2008 at 10:58 AM, David B. <[EMAIL PROTECTED]> wrote:
>
> Hi! We are developing and application with cakephp 1.2.0.6311 and we
> miss one feature or we don't find.
>
> When you show the paginator under the view, <th><?php echo $paginator-
> >sort('id');?></th>, How could we pass a class to this TH or the
> inside A element to apply some CSS style to the selected sort index?
>
> We want to apply a nice arrow for ASC $ DESC sort and some color to
> the background to emphasize the sort criteria
>
> Best regards
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---