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

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Is there a way to make a form only width=150px; height=50px?


  1. conceive
    Member

    I've tried this with the iframe code with bad results.

    Now using JS or PHP. The JS says 432px for a single-line form asking only for an email address.

    Anyone know the best way to do this?

    Posted 11 years ago #
  2. yuniar

    When you are using the javascript code, the height will be calculated automatically.
    If you need a fixed height, simply use the iframe code and set the height there.


    MachForm Founder

    Posted 11 years ago #
  3. conceive
    Member

    Ok thanks. But what about the fixed WIDTH issue?
    That's actually more important.

    Posted 11 years ago #
  4. yuniar

    The height of the form is being set to 100% width of the container. So you can simply enclose the form code inside a div and set a fixed width to the div.


    MachForm Founder

    Posted 11 years ago #
  5. conceive
    Member

    Ok, now I understand thanks. Now I get that the width is set properly by setting the parent container's width. Thank you!!! SOLVED.

    Posted 11 years ago #

RSS feed for this topic

Reply