This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Checkboxes


  1. abrown
    Member

    I have some long titles to put against checkboxes, how can I adjust the length of the "Choices" lines?

    And how in general can one know which bit of the css to adjust for particular parts of the forms? Can one look at the source of the forms?

    AB

    Posted 17 years ago #
  2. yuniar

    To adjust the length of the "choices" lines, edit this CSS code:

    #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%;
    }

    adjust the width attribute above.

    To know which bit of the CSS to adjust. I strongly suggest to use Firefox and Firebug extension: http://www.getfirebug.com/

    Once you learn how to use Firebug (spend 15 minutes or so to learn using Firebug Inspect tool).. you will be able to adjust almost any part of your form styling.


    MachForm Founder

    Posted 17 years ago #
  3. abrown
    Member

    Thanks, Yuniar. I had forgotten about Firebug...

    As matters stand on http://c18.org/c18/c18_c1.php?nom=c_lemay we have a heading (Commande) which runs across most of the window followed by the Choix de publication that is set for 100% but is only about 60% of the heading above.

    I can't see what it is in the css that is making that difference, there seems to be nothing significant at that point.

    I'd like my form to occupy the same width as the heading, so that (for example) Courriel and its box would be on the same line, which is how the css is set.

    AB

    Posted 17 years ago #
  4. abrown
    Member

    Have just found the answer, .appnitro li

    My only remaining problem (at least for the moment) is the country. How can I obtain it without the rest of the address structure?

    AB

    Posted 17 years ago #
  5. redityo

    Hi AB,

    Since machform do not have independent country field, I'm afraid you should create a drop down field and fill the country data manually.


    MachForm Support

    Posted 17 years ago #
  6. abrown
    Member

    Thanks Redityo. Is there any strong reason not to have an independent country field? Filling in the list by hand, one by one, is just not on... do you realise how many countries there are ? and how many languages ?

    Posted 17 years ago #

RSS feed for this topic

Reply