Hi Ed,
Probably you can achieve what you want using css.
It seems that isn't possible to add attributes using this html helper
method.

Lucca Mordente

On 14 abr, 16:57, Ed Propsner <crotchf...@gmail.com> wrote:
> Looking at the section in the book for $html->tableCells it says ...
> "Wrap a single table cell within an array() for specific <td>-attributes."
>
> $html->tableCells(array('foo', 'bar'));
>
> will ouput
>
> <tr>
> <td>foo</td>
> <td>bar</td>
> </tr>
>
> I'm having a few issues with this one.
> Could someone give me a quick example of how to output the same code
> utilizing a <td> attrib. ?
>
> Ie.
> <tr>
> <td valign="top">foo</td>
> <td>bar</td>
> </tr>
>
> Thanks,
> - Ed

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to