With the HTML helper it is easy to set a CSS class for a <td>: <?php echo $html->tableCells( 'one', array('two',array('class'=>'myCssClass'), 'three' );?>
As I understand the documentation, it is only possible to set a CSS class for <tr> and for all the </th>'s: <?php echo $html->tableHeaders( array('Date','Title','Active'), array('class' => 'status'), array('class' => 'product_table') );?> Is there a way to set a CSS class for a single <th>? I want table headers for columns which contain numbers to be aligned right, using a CSS class .number --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---