Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions

Formatting in userforms / checkbox group


Reply

3 Posts   2049 Views

Avatar
freedolin

30 July 2009 at 9:18pm Community Member, 6 Posts

I have strange formatting in a userform. I use ss 2.3.2 with userforms 0.2. I'm a newbie and I tried to find an answer in this forum.

Please have a look here: http://nks2.zenit.de/subscribe or see the attached screenshot.

If you uncheck the first or second checkbox then a checkbox group opens where all further checkboxes are badly formatted. How and where can I fix that?

Thx in advance for your valuable attention.

Avatar
Nathan Cox

31 July 2009 at 4:57pm Community Member, 99 Posts

The problem is the styles in BlackCandy's form.css:

The rule ".typography label" sets labels to display:block, which makes them drop onto a new line instead of sitting beside the checkbox like they should. The rest of the checkboxes work fine because the "label.right" rule sets their display back to "inline", but the labels in the expanding groups don't get the ".right" class.

Adding a rule like

.checkboxsetfield label {
display:inline;
}

to form.css should fix the problem.

Avatar
freedolin

31 July 2009 at 9:34pm Community Member, 6 Posts

What shall I say?

Perfect, marvellous, wonderful ...

It works. Many thanks!