Announcement

Collapse
No announcement yet.

Button space

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

    Button space

    Hi, I am using NETQUOTEVAR:NAVBHOME to create a home button in a table and I can't remove a small space below the image.

    I have amended the templates for the nav image, item and the disabled one in notepad, all unused code is removed. I have tried with the html compressed and uncompressed, but its still there!

    Any ideas would be very appreciated.

    Thanks,

    Rich.

    #2
    Just a further note, its all set up ok on the primary brochure template, it's the primary template thats causing me trouble.

    Thanks

    Rich

    Comment


      #3
      We would need to see the page before being able to troubleshoot

      is it online?

      Comment


        #4
        Yes it is http://www.stephanielamb.co.uk

        thanks.

        Rich.

        Comment


          #5
          Space Problem

          Hi,

          You can see the space problem under 'home' if you view this link.

          http://www.stephanielamb.co.uk/acatalog/Tula.html

          Thanks again for any help.

          Rich.

          Comment


            #6
            Hello

            If you 'View Source' on that page and do a search for "<td width="84">" you might first like to try making it:

            <td width="84" valign="bottom">

            In the main template. Don't know exacrly whether that wouldhelp but that's where I'd start.
            http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
            http://www.dtbrownseeds.co.uk - More seeds and plants....
            http://www.mr-fothergills.co.uk - Well it used to be Actinic...

            Comment


              #7
              Hi Dave,

              Thanks for that.

              I've tried, but no good. I also tried adding a height to the table of 16, (the height of the button graphics), but no good.

              Ummmm.

              Thanks again,

              Rich

              Comment


                #8
                Looking at the code,

                I have entered <td width="84" valign="bottom"> and checked it in notepad and its correct. However, when I upload and view the code it reads <td width="84" vAlign="bottom">.

                It don't understand this.

                Comment


                  #9
                  I have tried to align the row with <TR vAlign=bottom>, (still getting the capital A) and have done so with bottom and baseline.

                  I think maybe its something to do with NETQUOTEVAR:NAVBHOME

                  would it somehow produce a default cell size (of say 20px) so when my grahics of 16px are added to the table row it creates a space.

                  I'm loosing the will to live.

                  Comment


                    #10
                    you've got a <DIV> statement in the cell, remove it

                    ie <DIV align=center> and the </div>

                    Comment


                      #11
                      Hi pinbrook,

                      Thanks for your help on this.

                      I've looked through and removed any Div's in the primary, nav item and nav image templates.

                      Still got the space.

                      Comment


                        #12
                        OK, you've still got an extra </a> tag following the code:

                        <A HREF="../index.html" TARGET="_parent" onMouseOver="SwapImage('hnavb_home','home_on.gif')" onMouseOut="RestoreImage()"><IMG SRC="home_off.gif" ALT="Home" BORDER=0 HEIGHT=16 WIDTH=84 name=hnavb_home></A> </a>

                        When I tried it in Dreamweaver this appeared to remove the extra space that was there.

                        You might also have tried it as <td valign="bottom"> rather than <tr valign="bottom">?
                        http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
                        http://www.dtbrownseeds.co.uk - More seeds and plants....
                        http://www.mr-fothergills.co.uk - Well it used to be Actinic...

                        Comment


                          #13
                          Hi Dave,

                          Sorry to spin this out. I have removed </A> tag and played with the valign, but all to no avail.

                          Rich.

                          Comment


                            #14
                            fixed

                            Hi Dave,

                            I found a space in one of the nav templates.

                            NETQUOTEVAR:TEMPLATEBEGINXML <A HREF="NETQUOTEVAR:NAVLINK" TARGET="NETQUOTEVAR:NAVTARGET" NETQUOTEVAR:MOUSEOVERCALL>NETQUOTEVAR:NAVIMAGE</A>NETQUOTEVAR:TEMPLATEENDXML

                            There was a space after the </A> which I missed.

                            Thanks for all your help in sorting out my code. I'm new to Actinic and people like yourself make all the difference when trying to get my head around these problems.

                            I am very grateful to you, and the others who helped me out.

                            Rich.

                            Comment


                              #15
                              Well done.

                              Glad you got it sorted.

                              Have a nice weekend.
                              http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
                              http://www.dtbrownseeds.co.uk - More seeds and plants....
                              http://www.mr-fothergills.co.uk - Well it used to be Actinic...

                              Comment

                              Working...
                              X