4 Replies Latest reply on Apr 26, 2012 11:35 AM by Gwalchgwyn

    Big spaces in table

    Gwalchgwyn

      Hi, i've created a form using http://www.emailmeform.com/ and i'm trying to paste the HTML code straight into my website. It all works fine and looks good, apart from the fact that when the form is in, it moves the ajacent table below it, leaving a massive space above my main text body, in both design view and published view. I know next to nothing about HTML, and have made a bit of a mess of the tables as a result, and believe thats probably why this is happening. Heres a picture:

      table.jpg

       

      The tables are a complete mess, but its the only way i knew how to get pictures/text the way i wanted them.

       

      Heres the code before adding the form:

       

      http://pastebin.com/FiUnybHt

       

      And after:

       

      http://pastebin.com/1javCuvK

       

       

      I know its a mess, but if anyone can be bothered to decipher it, i'd be extremely grateful.

        • 1. Re: Big spaces in table
          osgood_ Level 8

          You have to set the <td> cell in which your 'Welcome to The Computer Shack' table is inserted to vertical-align top.

           

          Open the page in Dreamweaver and click in the space above the table. Look along the bottom edge of the window and you will see the html tags - select the <td> tag to the left of the last <table> tag. Then go Windows>Properties to open up the properties panel. Select from the 'Vert' menu 'Top'.

           

          Your table should now align to the top of the cell in which it is inserted.

          • 2. Re: Big spaces in table
            Gwalchgwyn Level 1

            Thanks thats worked perfectly What do each of the tags stand for or do, out of interest? Also, theres still a big space between my facebook widget and the form, any ideas why? Its not the height of the widget thats the problem, as when i switch the widget and form around, there's still a gap between the navbar and form

            • 3. Re: Big spaces in table
              osgood_ Level 8

              Gwalchgwyn wrote:

               

              Also, theres still a big space between my facebook widget and the form, any ideas why?

               

              Its got somethng to do with all that scripting you have in the code because if you remove it the form sits at the top of the table cell.

              1 person found this helpful
              • 4. Re: Big spaces in table
                Gwalchgwyn Level 1

                Thanks Ive sorted it now, it was a combination of things that caused it. Rebuilt the website structured a bit better. Thanks for all the help

                 

                http://www.thecomputershack.co.uk/