Re: horizontal form fields with css

2007-06-27 Thread Jonathan Langevin
ah, shame to hear I was wrong, happy to hear you found the correct usage :-) thanks for posting back with the correct syntax On 6/27/07, Siegfried Hirsch <[EMAIL PROTECTED]> wrote: > > Hello Jonathan, > > thanks for the suggestion, but it is wrong. > > with class you can only specify the class of

Re: horizontal form fields with css

2007-06-27 Thread Siegfried Hirsch
Hello Jonathan, thanks for the suggestion, but it is wrong. with class you can only specify the class of the itself. But with the formhelper, there is always a surrounding the and the . But there is a solution: you can specify the class of the surrounding div in this way by using div instead

Re: horizontal form fields with css

2007-06-26 Thread Jonathan Langevin
What you would do, is when you call (Cake 1.2 style) the input method, specify the class to be used $form->input('fieldname',array('class'=>'floatleft') ); I believe floatleft would be appended to the class 'input' (resulting in 'input floatleft'), but you should test it On 6/26/07, Siegfried Hir

Re: horizontal form fields with css

2007-06-26 Thread Joshua McFarren
You should start with a blank CSS file and define all your own styles and then you wont be guessing what is causing what. This is a CSS issue not a Cake one. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP

Re: horizontal form fields with css

2007-06-26 Thread Siegfried Hirsch
I have the same problem here. I want some input fields in horizontal position and some as usual with the label above the input field. Is there a way to specify a second class for the surrounding so that I am able the change the css behavior of different input fields. I know I could do this by ha

Re: horizontal form fields with css

2007-06-24 Thread trooney
You can chain together multiple classes on a single element, eg . But your question is more related to stylesheets, rather than CakePHP. You should consult the Google oracle for more information on CSS. On Jun 24, 3:24 pm, Amy1234 <[EMAIL PROTECTED]> wrote: > can I overide the in my css class to

Re: horizontal form fields with css

2007-06-24 Thread Amy1234
can I overide the in my css class to how I want all my forms to be? On Jun 24, 2:27 pm, trooney <[EMAIL PROTECTED]> wrote: > Google CSS & Floats to find articles on how to dynamically position > elements on a page. > > If you've baked your views with 1.2, your form elements are wrapped in > t

Re: horizontal form fields with css

2007-06-24 Thread trooney
Google CSS & Floats to find articles on how to dynamically position elements on a page. If you've baked your views with 1.2, your form elements are wrapped in tag. A quick and dirty method would be applying the style attribute directly to the divs wrapping the title and author elements, then cle

horizontal form fields with css

2007-06-24 Thread Amy1234
Hello, I have googled this but is unable to find out how to do this. On my forms instead of vertically listed fields such as:Title: __ Author: ___ I would like it to be: Title: Author: how would I do that. Thanks for your help Amy "" would be the input box