Community Forums 

Main Content

Huge spaces in Wordpress

    Sep 30 2016 16:23:25

    #1

    sleepyjen

    Join date : 2016-09-30      Posts : 3

    Hi all,

    I used Mals years ago for a biz website. Now I'm trying to add it to an organization website in order to sell back issues of a journal. The journals are described in text and I want the button in line with text. Instead, each time I add the code I end up with huge spaces above the button. I don't see anything in the code to create those, and I've tried using <p> and</p> coding to stop it, to no avail. If I try deleting the space using the visual editor, it strips my code. I'd appreciate some help!

    Here's the page:
    http://asch-cthistory.org/cart-test-page/

    and here's a sample of an entry's code:

    <form action="http://ww8.aitsafe.com/cf/add.cfm"; method="post"><input name="userid" type="hidden" value="A4416916" />
    <input name="product" type="hidden" value="back issue blah blah" />
    <input name="price" type="hidden" value="5" />
    <input type="Submit" value="Add to cart" /></form>

    <a href="http://asch-cthistory.org/wp-content/uploads/TOC-Fall2015-Vol.-542.pdf"; rel="">Fall 2015 (Vol. 54, no. 2)</a> "Roundtable: Reproductive Rights after <em>Griswold: </em>A 50-Year Retrospective" is available as an offprint at $2/ea

    Thanks!
    Jen



    Oct 01 2016 12:32:18

    #2

    Don

    Join date : 2008-09-18      Posts : 487

    Move the </form> to the end of the line.

    <form action="http://ww8.aitsafe.com/cf/add.cfm";; method="post"><input name="userid" type="hidden" value="A4416916" />
    <input name="product" type="hidden" value="back issue blah blah" />
    <input name="price" type="hidden" value="5" />
    <input type="Submit" value="Add to cart" /> <a href="http://asch-cthistory.org/wp-content/uploads/TOC-Fall2015-Vol.-542.pdf";; rel="">Fall 2015 (Vol. 54, no. 2)</a> "Roundtable: Reproductive Rights after <em>Griswold: </em>A 50-Year Retrospective" is available as an offprint at $2/ea</form>

    DB.

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook




    Oct 01 2016 14:38:18

    #3

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    On your product page you have a <br> after each field in your product code. Since they are not used in the the actual code they are probably being saved up and used after the code causing the space before the button. They are not needed between the form elements.

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.