PDA

View Full Version : Horizontal display for subelements


RaXa
01-27-2007, 02:15 AM
I need to display my subelements like radio button or check box in vertical way anyone can help me?

Thanks a lot

rob
01-27-2007, 03:54 PM
Hi

try adding this to your template's css


.mf_group label{
display:block;
}


Cheers
Rob

RaXa
02-06-2007, 12:00 AM
Tahnks Rob this works great, sorry for the delay.

Is there a posibility to make a specific number of options show, i have 8 options but I need to see columns of five?, five in one and 3 in the next, but show side by side?

I'm working on the spanish translation, this week I send it, Greetings

rob
02-08-2007, 09:19 AM
Hi This is untested but perhaps this would work:


.mf_group label{
display:block;
float:left;
width:50%;
}

cchiacchierini
05-09-2007, 04:44 PM
Rob:

To which css should this code be added to?

rob
05-11-2007, 09:44 AM
you have the choice, either your site's template css file, or your forms template file e.g. if you use the div_div template for the form you would edit

components/com_fabrik/tmpl/form/div_div/form.html and add this to the top

<style>
.mf_group label{
display:block;
float:left;
width:50%;
}
</style>