Announcement

Collapse
No announcement yet.

Linespaces caused by <form> tags?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Linespaces caused by <form> tags?

    Hi

    I had a problem a couple of threads back of annoying line spaces appearing under 3 column tables of section link images. Chris Dicken's reply was
    If you have established it is not coming from Act-SectionLine.html then it will be the code within 'Design | Text | Webiste | HTML' in prompts ID 1187, 1188, 1189 and 1190 which builds a table around your section links in order to lay them out in columns.
    but unfortunately that doesn't seem to be it.

    I think the problem may be caused by <form></form> tags which Actinic is generating around the appropriate bits of html. Having read up a bit elsewhere, there are a few ways around this, such as specifying no spacing or padding within the form tags, but as these are generated by Actinic, is this possible to do?

    Can anyone help?

    Sorry - I am trying to learn html and Actinic at the same time

    Thanks
    Jon

    #2
    Hiya,

    This is a general html problem... forms always have a bit of space under the bottom (god only knows why, but thats the way it is).

    The best solution i've found to fix this is to put your form inside a table and put the form tags *outside* the td tags like below:

    Code:
    <table width="100%">
      <tr> 
        <form name="whatever" action="whatever" method="post">
          <td> **FORM CONTENT HERE** </td>
        </form>
    </table>
    Hope that helps!

    Andy

    Comment


      #3
      Andy

      That's fine if you can see the form, i.e. it's one you have access to/control over via the templates. But these ones are (I think) generated by Actinic (possibly by NETQUOTEVAR:PRODUCTFORMEND in Act_productline.html which would account for the space below products, although not for the gap below section images as there is no NETQUOTEVAR:PRODUCTFORMEND in Act_Sectionline.html). I've had a skirt through the Design Text but can't see anything obvious there.

      Confused? You bet!

      Cheers
      Jon

      Comment


        #4
        NETQUOTEVAR:PRODUCTFORMBEGIN and NETQUOTEVAR:PRODUCTFORMEND are all outside <tr> tags in the main product table, so this will not be causing spaces to occur.

        I thought your problem is to do with sections rather than products. Act_SectionLine.html does have cellpadding=10 within the <table> tag though which would cause padding all around a section link. Try changing this to cellpadding=0.

        Comment


          #5
          Chris

          I have already done that, plus any other cellpadding I can see in the templates.

          It is most noticeable where I have a product which appears below two rows of three section images on the main catalog page - the space is below the section images and above the seperator line. When on product pages, the gap appears after the products and before some bottom of page formatting I have, which is not such a problem.

          Does anyone else have this problem?

          Jon

          Comment


            #6
            I have found sometimes commenting in the templates can cause the odd extra space. (After backing up your template) try stripping out commenting in the relevant templates.
            Nick Morecroft
            01392 434530
            <A target=_blank href ="http://www.pinbrookhosting.co.uk/">http://www.pinbrookhosting.co.uk/</A>
            hosting, search engine optimisation, design and ecommerce

            Comment


              #7
              Thanks Nick but that doesn't seem to have done it either.

              Any other ideas?

              Thanks
              Jon

              Comment


                #8
                Can you please post up a screenshot and indicate where the gaps are that you want to remove.

                Comment


                  #9
                  Certainly...screenshot attached below.

                  The graphics are section links and the account registration is a product (a la AUG).

                  Cheers
                  Jon
                  Attached Files

                  Comment


                    #10
                    What is the web address of the site, or have you not uploaded it yet? I may be able to help if I can view the source code.
                    Nick Morecroft
                    01392 434530
                    <A target=_blank href ="http://www.pinbrookhosting.co.uk/">http://www.pinbrookhosting.co.uk/</A>
                    hosting, search engine optimisation, design and ecommerce

                    Comment


                      #11
                      Looking at http://www.moorclose.co.uk/acatalog/...y_country.html this code:

                      <font face="Arial" size="2">&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</font>

                      which I guess is in your Act_ProductBody.html template is causing some of the gap.

                      Comment


                        #12
                        Sorry - been away....

                        The full address of the test site (Nick, or anyone else) is http://www.moorclose.co.uk/acatalog/brochurehome.html

                        Will have a look at Chris's suggestion shortly but I thought I had cleaned down all the templates, so I don't know where all that has come from.

                        I can't make any changes now as my demo version has run out, but signs are looking hopeful that the test site will become reality, so will be shaking the dust off the wallet at that point...

                        Thanks all

                        Jon

                        Comment

                        Working...
                        X