Announcement

Collapse
No announcement yet.

Extra space at top of sections

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

    Extra space at top of sections

    Anyone know what the extra space at the top of each of my sections is caused by?
    Here is an example, it is at the top of each section.
    http://www.petemaina.com/acatalog/Clearance_outlet.html

    The space that I am referring to is the blank area above "Sponsored by".

    Jen
    Jen
    www.absolutetechservices.com

    #2
    Try adding a valign="top" attribute into the table cell containing the image, and you may also want to run a general check on punctuation/syntax on all your <a href links etc. I spotted a few errors when I was in there.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      I see

      <INPUT TYPE=HIDDEN NAME="PAGEFILENAME" VALUE="Clearance_outlet.html"> <BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
      <BR><TABLE WIDTH="500" COLS="3" BORDER="0" CELLPADDING="10" CELLSPACING="0" ALIGN="CENTER">

      In the generated code. Someone put all those <BR>'s in either Act_Primary.html or Act_ProductBody.html.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        BR's

        Hey Norman-

        Here is my ACT_Primary:


        <html>
        <head>
        <TITLE>
        NETQUOTEVAR:PAGETITLE
        </TITLE>
        <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF"/>
        <META NAME="ACTINICTITLE" CONTENT="NETQUOTEVAR:PAGEHEADER">
        <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
        <!--@act NETQUOTEVAR:HEADERMETA -->
        <!--@act NETQUOTEVAR:LOADFUNCTION -->
        <!--@act NETQUOTEVAR:SUBMITFUNCTION -->
        <!--@act NETQUOTEVAR:P3PFULLPOLICYLINK -->
        <LINK REL=STYLESHEET HREF="actinic.css">


        <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
        <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>
        <!--@act NETQUOTEVAR:SECTIONTREE_RAW -->

        <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
        <!--
        function YahooSections(ar)
        {
        var strIDs = '';
        for (var i=1;i<=ar.length;i++)
        {
        if (ar[i].sURL != null)
        {
        strIDs += '<a href="' + ar[i].sURL + '"><span class="actxxsmall"><b><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].sName + '</font></b></span></a><br>';
        {
        if (ar[i].pChild)
        {
        for (var j=1;j<=ar[i].pChild.length;j++)
        {
        if (ar[i].pChild[j].sURL != null)
        {
        strIDs += '<a href="' + ar[i].pChild[j].sURL + '"><span class="actxxsmall"><font color="NETQUOTEVAR:FGCOLORCSS">' + ar[i].pChild[j].sName + '</font></span></a><br>';
        }
        }
        }
        }
        strIDs += '<br>'
        }
        }
        return strIDs
        }
        //-->
        </SCRIPT>

        <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
        <Actinic:COOKIECHECK/>

        <!--
        The NETQUOTEVARs below can be uncommented for getting raw section lists:
        1. Top level section list
        2. Section list from current level and all children
        3. The whole section tree
        The rest covers the standalone structure members for each array - e.g. if
        you only need sName or sURL from an array.
        See the documentation for details.

        NETQUOTEVAR:TOPLEVELSECTIONS_RAW
        NETQUOTEVAR:CHILDSECTIONS_RAW
        NETQUOTEVAR:SECTIONTREE_RAW

        NETQUOTEVAR:SECTIONTREE_NAMES
        NETQUOTEVAR:SECTIONTREE_URLS
        NETQUOTEVAR:SECTIONTREE_IMAGES
        NETQUOTEVAR:SECTIONTREE_IMAGEWIDTHS
        NETQUOTEVAR:SECTIONTREE_IMAGEHEIGHTS
        NETQUOTEVAR:SECTIONTREE_SECTIONIDS

        NETQUOTEVAR:TOPLEVELSECTIONS_NAMES
        NETQUOTEVAR:TOPLEVELSECTIONS_URLS
        NETQUOTEVAR:TOPLEVELSECTIONS_IMAGES
        NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEWIDTHS
        NETQUOTEVAR:TOPLEVELSECTIONS_IMAGEHEIGHTS
        NETQUOTEVAR:TOPLEVELSECTIONS_SECTIONIDS

        NETQUOTEVAR:CHILDSECTIONS_NAMES
        NETQUOTEVAR:CHILDSECTIONS_URLS
        NETQUOTEVAR:CHILDSECTIONS_IMAGES
        NETQUOTEVAR:CHILDSECTIONS_IMAGEWIDTHS
        NETQUOTEVAR:CHILDSECTIONS_IMAGEHEIGHTS
        NETQUOTEVAR:CHILDSECTIONS_SECTIONIDS

        The section level can be accessed through:
        NETQUOTEVAR:SECTIONLEVEL
        -->
        <!--
        The NETQUOTEVARs below can be uncommented and moved to the appropriate

        location
        to save and load shopping lists
        <A HREF="NETQUOTEVAR:SAVECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Save

        Shopping List</B></I></FONT></A>
        <A HREF="NETQUOTEVAR:RESTORECARTURL"><FONT FACE=ARIAL SIZE=-1><I><B>Load

        Shopping List</B></I></FONT></A>
        --->
        <!-- Fireworks MX Dreamweaver MX target. Created Fri Jan 30 14:06:11 GMT+0000 (GMT Standard Time) 2004-->
        </head>
        <BODY TEXT="NETQUOTEVAR:FGCOLOR" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" OnLoad="NETQUOTEVAR:ONLOAD" NETQUOTEVAR:BGIMAGE NETQUOTEVAR:BGCOLOR NETQUOTEVAR:LINKCOLOR NETQUOTEVAR:VLINKCOLOR NETQUOTEVAR:ALINKCOLOR>
        <table width="770" height="100%" align="center" cellpadding="0" cellspacing="0" class="thinborder">
        <tr>
        <td valign="top" bgcolor="#000000">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
        <td align="center" valign="top">NETQUOTEVAR:LOGOIMAGE</td>
        </tr>
        </table> </td>
        </tr>
        <tr>
        <td width="100%" align="center" valign="top" background="top_bar.gif">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr align="center" valign="top">
        <td width="33%" height="26">NETQUOTEVAR:NAVBSITEMAP</td>
        <td width="34%">NETQUOTEVAR:NAVBMAIL</td>
        <td width="33%">NETQUOTEVAR:NAVBINFO</td>
        </tr>
        </table>
        </td>
        </tr>
        <tr>
        <td align="left" valign="top" bgcolor="#FFFFFF">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
        <td width="170" align="left" valign="top" bgcolor="#000000"><table width="170" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" class="thinborder">
        <tr>
        <td width="170" height="59" background="search_background.gif" align="right"> <a href="NETQUOTEVAR:NAVBSEARCHLINK"><font color="NETQUOTEVAR:PALBGCSS">Advanced</font></a>&nbsp;<br>
        NETQUOTEVAR:SIMPLESEARCH </td>
        </tr>
        <tr>
        <td>NETQUOTEVAR:NAVBCART</td>
        </tr>
        <tr>
        <td>NETQUOTEVAR:NAVBCHECKOUT</td>
        </tr>
        <!-- <tr>
        <td height="25" background="cart_bg.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1"><strong>&nbsp;&nbsp;&nbsp;
        <script language="JavaScript">
        <!--
        document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+"&nbsp;");
        document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));
        // -->

        </script>
        </strong></font></td>
        </tr> -->
        NETQUOTEDEL:CAPTURECOUPON
        <tr>
        <td background="menu_bottom.gif"><font color="NETQUOTEVAR:PALBGCSS" size="1">
        <table width="100%" border="0" cellspacing="0" cellpadding="4">
        <form method="NETQUOTEVAR:CGIMETHOD" action="NETQUOTEVAR:CGIURL">
        <tr>
        <td colspan="2" valign="top"><strong><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONTITLE</font></strong></td>
        </tr>
        <tr>
        <td colspan="2" valign="top"><font color="NETQUOTEVAR:PALBGCSS">NETQUOTEVAR:COUPONMESSAGE</font></td>
        </tr>
        <tr>
        <td valign="top"><input type="TEXT" name="COUPONCODE" size="15" maxlength="255" value="NETQUOTEVAR:COUPONCAPTION" onFocus="this.value='';this.style.background='#FFFFFF'"></td>
        <td><input type="IMAGE" name="ACTION_SEND" border="0" src="quicksearch.gif" alt="NETQUOTEVAR:COUPONACTION"></td>
        </tr>
        </form>
        </table>
        </font></td>
        </tr>
        NETQUOTEDEL:CAPTURECOUPON
        <tr>
        <td valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="departments.gif" width="170" height="27"></td>
        </tr>
        <tr>
        <td valign="top" bgcolor="NETQUOTEVAR:PALBGCSS">
        <table width="100%" border="0" cellpadding="1" cellspacing="5">
        <tr>
        <td>
        <script language=Javascript1.2>
        document.write(YahooSections(section_tree))
        </script>
        </td>
        </tr>
        </table></td>
        </tr>
        <tr>
        <td><img src="main_pages.gif" width="170" height="27"></td>
        </tr>
        <tr>
        <td>NETQUOTEVAR:NAVBHOMENETQUOTEVAR:NAVBCATALOGNETQUOTEVAR:NAVBUPNETQUOTEVAR:NAVBLOGIN </td>
        </tr>
        <tr>
        <td width="170" align="left" valign="top" bgcolor="NETQUOTEVAR:PALCOLOR1CSS"><img src="menu_bottom.gif" width="170" height="91"></td>
        </tr>
        </table>
        </td>
        <td align="left" valign="top">
        <table width="100%" height="100%" cellpadding="5" cellspacing="0" class="thinborder">
        <tr>
        <td valign="top">NETQUOTEVAR:FORMBEGIN <A NAME="top">
        <INPUT TYPE=HIDDEN NAME=RANDOM VALUE="NETQUOTEVAR:RANDOM"></A>
        NETQUOTEVAR:HIDDENFIELDS
        <!-- If customer accounts are in operation following two lines allow displaying -->
        <!-- User name and customer account name on every page -->
        <!-- NETQUOTEVAR:LOGINLINK --><Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
        <!-- NETQUOTEVAR:HEADER -->
        <div align="center"><span class="actxsmall">NETQUOTEVAR:HEADERTEXT</span></div>
        NETQUOTEVAR:BULK <br>
        <div align="center"><span class="actxsmall">NETQUOTEVAR:FOOTERTEXT</span></div>
        <!-- NETQUOTEVAR:FOOTER -->
        NETQUOTEVAR:FORMEND</td>
        </tr>
        </table>
        </td>
        </tr>
        </table> </td>
        </tr>
        </table>




        And here is my ACT_ProductBody:

        <!-- ProductBody HTML begin -->
        <!-- Insert HTML for the top of the product body -->

        <A NAME="sectiontop">
        <DIV ALIGN="CENTER">
        NETQUOTEVAR:PARENTSECTIONSTOP
        </DIV>
        <!-- NETQUOTEVAR:TOPLEVELSECTIONSTOP -->
        NETQUOTEVAR:SECTIONLISTTOP
        NETQUOTEVAR:TOPSECTIONSEPARATOR
        NETQUOTEVAR:CARTERRORLISTXML
        </A>
        NETQUOTEVAR:HIDDENINPUT
        NETQUOTEVARISCOUNTINFOBULK<BR>

        <TABLE WIDTH="500" COLS="3" BORDER="0" CELLPADDING="10" CELLSPACING="0" ALIGN="CENTER">

        NETQUOTEVAR:PRODUCTBULK

        </TABLE>


        <A NAME="sectionbottom">
        <DIV ALIGN="RIGHT">
        NETQUOTEVAR:SINGLEADD
        </DIV>
        NETQUOTEVAR:BOTTOMSECTIONSEPARATOR
        NETQUOTEVAR:SECTIONLISTBOTTOM
        <!-- NETQUOTEVAR:TOPLEVELSECTIONSBOTTOM -->
        <DIV ALIGN="CENTER">
        NETQUOTEVAR:PARENTSECTIONSBOTTOM
        </DIV>
        </A>
        <!-- Insert HTML for the bottom of the product body -->
        <!-- ProductBody HTML end -->



        Neither have a bunch of "<br>". I had checked all associated templates and find none with a bunch of them.

        wjcampbe - you lost me...could you give me a little more detail?


        Jen
        Jen
        www.absolutetechservices.com

        Comment


          #5
          It looks like the line

          NETQUOTEVARISCOUNTINFOBULK

          in Act_ProductBody.html is producing this.

          This come from View / Discounts and Surcharges Settings / Cart Contents / Presentation / Description for Product. This may look empty but make sure that you've not got a long list of blank lines in there.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Got It!

            Thanks Norman....you led me to the problem. It was actually in the "Discounts and Surcharge Settings" on the "Miscellaneous" tab. Under "Discount Description" - I had "Above the list of product" checked. When I changed it to be unchecked and then instead checked "Against each product" -the problem cleared up.
            I don't know the why, I am just really happy the space is gone!!

            Thanks!

            Jen
            Jen
            www.absolutetechservices.com

            Comment

            Working...
            X