Re: Retrieve data in table cells -> how to avoid line breaks?
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 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 wrote: > > > Hello, > > when i retrieve my data in table-cells, how can i avoid line breaks, > > for example in the table header? > > > [retrieve-code] > > > > > > > > sort(array('asc' =>'id v', > > 'desc' > > =>'id ^'), 'id'); ?> > > ... > > ... > > > > > > > > > > > > > > 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 cake-php@googlegroups.com > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com 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 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: Retrieve data in table cells -> how to avoid line breaks?
Thanks! That works for me: [code] th { white-space:nowrap; } [/code] Furthermore, is it possible to create only a horizontal line under each complete data row? 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
Re: Retrieve data in table cells -> how to avoid line breaks?
Thanks. Furthermore, is it possible to create only a horizotal line under each complete data-row? 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
Re: Retrieve data in table cells -> how to avoid line breaks?
Addition: It also would be nice, if the cell width would fit to the cell content. 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
Re: Retrieve data in table cells -> how to avoid line breaks?
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 wrote: Hello, when i retrieve my data in table-cells, how can i avoid line breaks, for example in the table header? [retrieve-code] sort(array('asc' =>'id v', 'desc' =>'id ^'), 'id'); ?> ... ... ... [/retrieve-code] Thanks if someone can help! :) 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 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
Retrieve data in table cells -> how to avoid line breaks?
Hello, when i retrieve my data in table-cells, how can i avoid line breaks, for example in the table header? [retrieve-code] sort(array('asc' =>'id v', 'desc' =>'id ^'), 'id'); ?> ... ... ... [/retrieve-code] Thanks if someone can help! :) 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