Appnitro Software Forums » MachForm

Checkboxes/Multiple Choice align to the right

(4 posts)
  • Started 1 year ago by moodleclass
  • Latest reply from yuniar

  1. moodleclass
    Member

    Hi

    How can align the Checkboxes/Multiple Choice Field (the Field Type not the Field Label)to the right instead of left?

    Thanks

    Posted 1 year ago #
  2. Edit your form CSS code. Search for this:

    #main_body label.choice
    {
    	color:#444;
    	display:block;
    	font-size:100%;
    	line-height:1.4em;
    	margin:-1.55em 0 0 25px;
    	padding:4px 0 5px;
    	width:90%;
    }

    change it to become:

    #main_body label.choice
    {
    	color:#444;
    	display:block;
    	font-size:100%;
    	line-height:1.4em;
    	margin:-1.55em 0 0 25px;
    	padding:4px 0 5px;
    	width:90%;
    
    	text-align: right;
    }
    Posted 1 year ago #
  3. moodleclass
    Member

    Hi yuniar
    Thank you for your help.
    I still have a problem as you can see in this link:
    http://moodleclass.org/formmaker/view.php?id=2
    all the objects as Checkboxes/Multiple Choice and other are align to to left.
    Please help me to fix this problem - I need to align all the objects to the right.
    Thanks

    Posted 1 year ago #
  4. Try this, search for this code:

    #main_body form li span
    {
    	color:#444;
    	float:left;
    	margin:0 4px 0 0;
    	padding:0 0 8px;
    }

    change it to become:

    #main_body form li span
    {
    	color:#444;
    	float:right;
    	margin:0 4px 0 0;
    	padding:0 0 8px;
    }
    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.