Can you post some css? I suggest looking at your page using firebug and see if you have any other classes overriding your short200 class. Also spans default to display:inline so this maybe why yours isn't behaving properly

Mike Karthauser
Brightstorm limited
Tel: 07939252144

On 18 Jan 2010, at 15:16, laceja <[email protected]> wrote:

I'm very new to CakePHP... this is my first CakePHP program outside of
the tutorials. I'm having a problem using CSS to format a input
fields. For example:

echo $form->input('furnace_name', array('between' => '<span
class="short200">', 'label' => array('text' => 'Furnace Name:'), 'div'
=> false, 'after' => '</span>'));

creates the proper HTML, but the <span class="short200"> doesn't have
any affect. I used the included CSS file from CakePHP, removed all the
"input" class tags and added the "short200" tag, but nothing seems to
work. I did notice the HTML includes an id=furnacename, in this case,
and if I add an id of furnacename to the CSS file, it works. Is there
a way to get the <span class="short200" to work?

Thanks for being patient with such a basic question.
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
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

Reply via email to