Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

issues with tables


Guest

Recommended Posts

Posted

i have some severe issues with tables i used a contribution called menu tabs and i can not get the tables align up now under 800 x 600 any suggestions

 

http://www.majesticsoundsonline.com/store/catalog

 

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

 <tr class="header">

   <td align="center"  valign="top"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'image41.gif', 'Majestic Sounds & Security') . '</a>'; ?></td>

</tr>

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

<td align="middle" valign="top">

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

<tr>

	 <td height="40" align="right" valign="top"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  

 

</td>

</tr>

<tr>

<td colspan="2" align="middle" valign="bottom" nowrap>

 <?php include(DIR_WS_INCLUDES . 'categories_tab.php'); ?>

</td>

</tr>

</table>



</td>

 </tr>

</table>

<table border="0" width="100%" 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); ?>" 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>

<?php

 if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {

?>

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

 <tr class="headerError">

   <td class="headerError"><?php echo urldecode($HTTP_GET_VARS['error_message']); ?></td>

 </tr>

</table>

<?php

Posted

The tabs seem to be taking up too much space causing the page to stretch out. Is there anyway you can make it so the tabs are in more than one row? If not, I prefer this contribution which allows you to set how many tabs are in a row, spacing, etc.:

 

http://www.oscommerce.com/community/contri...ons,1270/page,4

 

Here is a site I am playing around with the above contribution on...although in this case they look more like buttons, but there is image options for simple tabs. If you didn't want the menu tabs and only the categories you can just disable all of the menu tabs.

 

http://www.diyreef.com/test/

 

P.S. you might want to do a spell check on this line on your main page: "We offer Products from over 40 different manufactures and guarentee next buisness day shipping." since there are three typos/mispellings in it. ;) manufactures=manufacturers, guarentee-guarantee, buisness=business...sorry could not help myself

Archived

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

×
×
  • Create New...