Re: HTML_QuickForm renderer style

From: Date: Thu, 27 May 2004 13:54:45 +0000
Subject: Re: HTML_QuickForm renderer style
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12759@lists.php.net to get a copy of this message
Hi! Alexey Mirkulove wrote:
Could you please tell me the way to make a style of button in form: $form->addElement('reset', 'reset', 'RESET', 'style=background-color:#9832a1; border-color:#F4F3F5; font: bold 11px Tahoma; color: white;'); i'm doing like this but in that case font & font color does not change, using Sigma renderer.
It won't change even if you paste this stuff directly into HTML. Use double quotes: style="background-color:#9832a1; border-color:#F4F3F5; font: bold 11px Tahoma; color: white;"

« previous php.pear.general (#12759) next »