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.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Form Appearance


Reply

6 Posts   1861 Views

Avatar
cerelac

17 July 2008 at 10:58pm (Last edited: 18 July 2008 1:51am), Community Member, 34 Posts

Hello

I have a problem with the form appearance in front-end view.

When I have checkboxes or radio buttons why aren't they correctly aligned?

[URL=http://img403.imageshack.us/my.php?image=formsilverstripexy8.jpg][/URL]

PS: I've already tried it in both FireFox and IE and it shows the same result.

Is there any way to change the appearance of the fields that aren't correctly displayed?

Avatar
Pixel

17 July 2008 at 11:10pm Community Member, 78 Posts

I have his problem too - would be nice for a solution

Avatar
cerelac

19 July 2008 at 5:16am (Last edited: 21 July 2008 8:36pm), Community Member, 34 Posts

Hello everyone.

I've figured out why is the checkbox displaying from the right.

I've changed the class from right to left and it moved but the alignment isn't correct even after doing this.

Can anyone tell me where is this code located?
Is there any way to "format" its appearance?

Avatar
cerelac

24 July 2008 at 1:00am Community Member, 34 Posts

Hi.

Is there any solution to this problem?

Avatar
tone77

10 October 2008 at 12:56am Community Member, 10 Posts

put this at the bottom of your form.css style sheet

label.right {
display:inline;
}

Avatar
tone77

11 October 2008 at 12:11am Community Member, 10 Posts

Fixed in http://open.silverstripe.com/changeset/64026