Thanks, that works. Furthermore, is it possible to create only a horizontal line under each complete data-row?
On 11 Feb., 09:21, mike karthauser <[email protected]> wrote: > You need to set a css style for th > > Ie > th { whitespace:nowrap} > > which will stop the lines breaking on spaces. > > Mike Karthauser > Brightstorm limited > Tel: 07939252144 > > On 11 Feb 2010, at 07:19, sebb86 <[email protected]> wrote: > > > Hello, > > when i retrieve my data in table-cells, how can i avoid line breaks, > > for example in the table header? > > > [retrieve-code] > > <!-- table- (column-) captions --> > > <table> > > <tr> > > <th><?php echo $paginator->sort(array('asc' =>'id v', > > 'desc' > > =>'id ^'), 'id'); ?></th> > > <th>...</th> > > ... > > </tr> > > > <!-- table content --> > > <?php foreach ($hardware_units as $hardware_unit): ?> > > <tr> > > <td><?php echo $hardware_unit['HardwareUnit']['id']; ?></td> > > <td><?php echo $hardware_unit['HardwareUnit']['...']; ?></ > > td> > > ... > > [/retrieve-code] > > > Thanks if someone can help! :) > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [email protected] > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this > > group athttp://groups.google.com/group/cake-php?hl=en 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 [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
