On Feb 14, 12:38 pm, Roman <brae...@gmail.com> wrote: > 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>? manually. submit a patch with your enhancement ticket if you want the tableHeaders method to act the same as tableCells. hth, AD --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Re: CSS Class for with $html->tableHeaders
AD7six
Mon, 16 Feb 2009 04:10:29 -0800
- CSS Class for <th> with $html->tableHeaders Roman
- Re: CSS Class for <th> with $html->tableHeaders AD7six
Reply via email to
AD7six Mon, 16 Feb 2009 04:10:29 -0800
- CSS Class for <th> with $html->tableHeaders Roman
- Re: CSS Class for <th> with $html->tableHeaders AD7six