Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My header nav bar won't align to the bottom...


mcgyver7923

Recommended Posts

All,

I've finally got the header image I want, the category and menu tabs showing up, and all is good. The only problem is that the entire nav bar and tabs are centering in my header table. Here is the code for my table:

 

<table width="100%" height="140" class="clouds"><tr><td>

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

  	 <td align="left" valign="bottom" ><?php include(DIR_WS_INCLUDES . 'categories_tab.php'); ?></td>

 <td align="right" valign="bottom" ><?php include(DIR_WS_INCLUDES . 'menu_tab.php'); ?></td>

</table> 

 <table border="0" width="100%" valign="bottom" cellspacing="0" cellpadding="1">

 <tr class="headerNavigation">

     <td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>

     <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>

  </tr>

</table>

</td></tr></table>

 

 

I just can't figure out how to get these to align right over the bottom of my header image. Any help would be greatly appreciated. I've been trying and trying wqith different tags here and there and using the source/preview view in Dreamweaver to try and figure it out but to no avail...Thank you!!!

 

go here to see what I am talking about:

www.gobeyondwireless.com

-Richard

---------------------------------------------------

Where would I be without the Forums?!?!

Link to comment
Share on other sites

There're some <TR></TR> tags missing in the first nested table, why don't you merge the two nested tables:

<table width="100%" border="0" height="140" cellspacing="0" cellpadding="0" class="clouds">

 <tr>

   <td valign="bottom">

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

       <tr>

         <td align="left" valign="bottom" ><?php include(DIR_WS_INCLUDES . 'categories_tab.php'); ?></td>

         <td align="right" valign="bottom" ><?php include(DIR_WS_INCLUDES . 'menu_tab.php'); ?></td>

       </tr>

       <tr class="headerNavigation">

          <td class="headerNavigation">  <?php echo $breadcrumb->trail(' » '); ?></td>

          <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>

    </tr>

  </table>

</td>

</tr>

</table>

HTH

Link to comment
Share on other sites

Alverman,

:D it worked :D Thank you for your help!!! It does make perfect sense to take out that extra table. Thanks again!!!

 

:wink:

-Richard

---------------------------------------------------

Where would I be without the Forums?!?!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...