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

line space height


  1. kwaluga
    Member

    I've integrated MachForm into an existing site, but I couldn't figure out which CSS attribute I have to change to decrease the default line height between the different fields.
    Thanks very much for a hint.

    Posted 16 years ago #
  2. yuniar

    This one:

    form li
    {
    	display:block;
    	margin:0;
    	padding:4px 5px 2px 9px;
    	position:relative;
    }

    Simply play around with the padding.

    In case you are using Firefox, I found this tool very useful for modifying CSS:
    http://www.getfirebug.com/


    MachForm Founder

    Posted 16 years ago #
  3. kwaluga
    Member

    Hi yuniar,

    ...it all works as expected, I could optimize the height of the form to match perfectly the layout of the site.

    Thank you very much!

    Posted 16 years ago #
  4. yuniar

    Great!


    MachForm Founder

    Posted 16 years ago #

RSS feed for this topic

Reply