Do 'div' => false to remove the divs. Divs are by nature block level elements so the div around the submit button will want to push it down a row. Then your CSS will be easier.
Jeremy Burns Class Outfit http://www.classoutfit.com On 5 Jul 2011, at 00:05, barricades wrote: > Sorry for being such a newbie but I have been trying to position it > with floats but I haven't been able to make it work. Would you be so > kind as to give me more details? > > thanks for replying btw > > > > On Jul 4, 11:53 pm, Tilen Majerle <[email protected]> wrote: >> yes you can do this with CSS float positioning div >> -- >> Lep pozdrav, Tilen Majerlehttp://majerle.eu >> >> 2011/7/5 barricades <[email protected]> >> >> >> >> >> >> >> >>> Apologies for this (probably) silly question >> >>> I've googled but strangely I can't find the answer to what must surely >>> be a common want. I did find some articles but none that provided a >>> solution I either understood or was the same. >> >>> I want to have my submit button to the right of my search form field. >>> But I also want to keep my label above the form field. So it's Label, >>> then on a new line the field with the search button on the same line. >> >>> I've tried all sorts of css but because cakephp produces all the >>> different bits in different divs nothing has worked. I know I could >>> just code it manually with spans but surely theres a cakey way of >>> doing it? >> >>> -- >>> Our newest site for the community: CakePHP Video Tutorials >>> http://tv.cakephp.org >>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help >>> others with their CakePHP related questions. >> >>> To unsubscribe from this group, send email to >>> [email protected] For more options, visit this group >>> athttp://groups.google.com/group/cake-php > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
