[support] need to display radio as horizontal
bharani kumar
bharanikumariyerphp at gmail.com
Tue Nov 4 01:58:43 UTC 2008
When i select the city radio option , need to display the cityForm
When i select the address radio option , need to display the addressForm
any guess
On Tue, Nov 4, 2008 at 1:38 AM, Jim Tittsler <jwt at onjapan.net> wrote:
> On Nov 3, 2008, at 20:49, bharani kumar wrote:
>
> > This is the code,
> >
> > function reservation_form(){
> >
> > $form['option_city'] = array(
> > '#type' => 'radios',
> > [...]
> > display the radio button as vertically,
> >
> > But i want to display horizontally
>
> You can use CSS to make them display horizontally:
>
> .form-radios .form-item {
> float: left;
> width: 20%;
> }
>
> .form-item label.option {
> display: inline;
> clear: left;
> float: left;
> }
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
--
உங்கள் நண்பன்
பரணி குமார்
Regards
B.S.Bharanikumar
POST YOUR OPINION
http://bharanikumariyer.hyperphp.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20081104/2b8275e5/attachment.htm
More information about the support
mailing list