checkboxes display

Good Day,

Does anyone know how to re-arrange checkboxes alignment in a new fields item? The new field box on my "join" page displays its "attached" preconfigured list but horizontally; I would like to see the checkboxes align horizontally in two side-by-side columns.

Licensing question: Does a one star contributor for 12 months ($100) gives an AdFree license for each Boonex products (Dolphin, Ray, etc.)? This is how I understand it but I prefer to get confirmation  before placing my order.

Thank you all :)

Quote · 11 Apr 2009

Licensing question: Does a one star contributor for 12 months ($100) gives an AdFree license for each Boonex products (Dolphin, Ray, etc.)? This is how I understand it but I prefer to get confirmation  before placing my order.

Thank you all :)

Yes, the license is for Dolphin, Ray & Orca.

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 11 Apr 2009

Hi Diddy,

Thanks for your reply. Does buying a full license for Dolphin entitles for lifetime upgrades (and not only updates)?

No one knows how to modify the checkboxes layout?

Cheer

Quote · 11 Apr 2009

No one knows how to modify the checkboxes layout?

Cheer

Nadjia.
I struggled with this one for a while too, and sort of came up with a css solution that relied on calling elements by content rather than class or id. you can do this by calling the item in your stylesheet - label.input_radio_label[for='some known content'].

I made four new styles in the join.css file

one for all the odd numbered checboxes
one for all the odd numbered labels

one for all the even numbered checkboxes

one for all the even numbered labels

luckily the labels and checkboxes will have known content - ie the language key for the feilds that you made.
the labels styles looked like this:

label.input_radio_label[for='Arts_involvement[0]_1'],
label.input_radio_label[for='Arts_involvement[0]_3'],    label.input_radio_label[for='Arts_involvement[0]_5'],   label.input_radio_label[for='Arts_involvement[0]_7'],   label.input_radio_label[for='Arts_involvement[0]_9'],   label.input_radio_label[for='Arts_involvement[0]_11']
{
font-size: 12px;
etc...
}



label.input_radio_label[for='Arts_involvement[0]_2'],
label.input_radio_label[for='Arts_involvement[0]_4'],    label.input_radio_label[for='Arts_involvement[0]_6'],   label.input_radio_label[for='Arts_involvement[0]_8'],   label.input_radio_label[for='Arts_involvement[0]_10']
{
font-size: 12px;
etc...
}


My hope was to align all odd numbered checkboxes and labels left - then all even numbered checkboxes and labels right.

It worked to a degree - until I checked the result in a few different browsers - it degrades into a really ugly mess if a user changes the text size by hitting control+. I am sure that it could be controlled using careful dimensioning and only using pixel sizes, but my labels had words that varied from a 5 letters  to 18 letters and so looked really bad.

In the end I used the same approach just for labels, converted them into blocks rather than inline elements and had a vertical column of 11 checkboxes, all neatly spaced and degrading nicely. better than a row that chooses to break at a checkbox.

Sorry I cant provide you with the code that I played around with - but i hope the style element[for='content'] idea helps.

Quote · 12 Apr 2009

Hi Tifrap,

 

Thank you much for your help; I tried to follow your guide lines but wasn't able to get the result I wanted (most likely due to my poor php skills...). All I get is a vertical list of my checkboxes and the labels don't align properly: the first checkbox label align with the second checkbox and so on... I tried as you suggested to convert them to block elements, but I'm afraid I'm doing it wrong. If you would have a little piece of code to show me the "how to", it would be nice; otherwise, no worries, I'll live with it :)

 

Cheers,

 

Christian

Quote · 16 Apr 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.