Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need your help one 1 last time (for today)


808smokey

Recommended Posts

Hi,

I've been pulling my hair out, I've spent weeks on this and can't figure it out.

Will you please look at my site and tell me how to move the "New items for May" box up to the top? I've gone all through the index code and can add pics above it but can't make it go any higher up the page. It looks retarded with this big blank space there. If I add a banner or something there it has about a 1" gap above and below the banner. :angry: Please help me :D

 

my site is: http://aplus-computersonline.com/

 

Thanks for the help

Link to comment
Share on other sites

Did you try to comment out the not used fields in index.php?

 

                  <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
         <tr>
           <td class="main"><?php echo tep_customer_greeting(); ?></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td class="main"><?php echo TEXT_MAIN; ?></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
         </tr>

 

To:

 

                  <tr>
       <td><?php echo // tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
         <tr>
           <td class="main"><?php // echo tep_customer_greeting(); ?></td>
         </tr>
         <tr>
           <td><?php // echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td class="main"><?php // echo TEXT_MAIN; ?></td>
         </tr>
         <tr>
           <td><?php // echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td><?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
         </tr>

 

Or delete those lines completely? Just a thought

9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard)

 

Replace that and you're fine...

Link to comment
Share on other sites

<td><?php echo // tep_draw_separator('pixel_trans.gif', '100%', '0'); ?></td>

      </tr>

      <tr>

        <td><table border="0" width="100%" cellspacing="0" cellpadding="0">

          <tr>

            <td><?php echo // tep_draw_separator('pixel_trans.gif', '100%', '9'); ?></td>

          </tr>

          <tr>

            <td class="main"><?php // echo TEXT_MAIN; ?></td>

Thanks those lines make the blank space go away.

 

This line makes the whole "new products" go away

</tr>

        <tr>

          <td><?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

        </tr>

Link to comment
Share on other sites

Whoops, Went a little crazy with the //'s

9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard)

 

Replace that and you're fine...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...