Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

make left column level with header


compwhizmm90

Recommended Posts

Posted

Currently my left column and header look like this:

 

screenshot.jpg

 

How can I make it look like this:

 

screenshot1.jpg

 

Here is some of my code from index.php:

 

 

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<?php 
# cDynamic Meta Tags
/*<title><?php echo TITLE; ?>*/
require(DIR_WS_INCLUDES . 'meta_tags.php');
#
?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->

 

header.php:

 

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="headerNavigation">
<tr>
  <td width="12%" height="30" class="headerNavigation" scope="col"><div align="center">Home	

</div>
  <td width="20%" class="headerNavigation" scope="col"><div align="center">Contact Us	   
  </div>
  <td width="21%" class="headerNavigation" scope="col"><div align="center">My Account 
  </div>
  <td width="21%" class="headerNavigation" scope="col"><div align="center">Shipping	  
  </div>
  <td width="26%" class="headerNavigation" scope="col"><div align="center">Links	  
  </div>
  </tr>
 </table>

 

 

If anyone know how to do this, I would really appreciate some help!!

Thanks :D

Posted

Well I'm guessing here but think what you are looking for is in your includes/boxes directory. Since your site looks pretty modified, not sure which box to look in once you get in there but the first box, search maybe? see if there is a <BR> tag or anything else that might be spacing it down some. Honestly not sure if that's it though but just throwing it out there for you.

 

 

 

Currently my left column and header look like this:

 

screenshot.jpg

 

How can I make it look like this:

 

screenshot1.jpg

 

Here is some of my code from index.php:

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<?php 
# cDynamic Meta Tags
/*<title><?php echo TITLE; ?>*/
require(DIR_WS_INCLUDES . 'meta_tags.php');
#
?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->

 

header.php:

 

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="headerNavigation">
<tr>
  <td width="12%" height="30" class="headerNavigation" scope="col"><div align="center">Home	

</div>
  <td width="20%" class="headerNavigation" scope="col"><div align="center">Contact Us	   
  </div>
  <td width="21%" class="headerNavigation" scope="col"><div align="center">My Account 
  </div>
  <td width="21%" class="headerNavigation" scope="col"><div align="center">Shipping	  
  </div>
  <td width="26%" class="headerNavigation" scope="col"><div align="center">Links	  
  </div>
  </tr>
 </table>

If anyone know how to do this, I would really appreciate some help!!

Thanks :D

Posted

To do that, you have to take the table that is in your header.php that has the navigational links that go across the page and then edit every single file in your catalog folder adding a cell at the top of the page and putting that table in it, then you will have to adjust spacing and etc to get it all to line up correctly.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted
To do that, you have to take the table that is in your header.php that has the navigational links that go across the page and then edit every single file in your catalog folder adding a cell at the top of the page and putting that table in it, then you will have to adjust spacing and etc to get it all to line up correctly.

 

 

Thanks for your help, but I installed STS. It made everything so much simpler! I recomend it to anyone having similar problems.

Posted

The template systems work great for layout... or pretty ok anyhow (I hate them) but they can make adding contributions a big ol pain in the butt. Just a lil fyi.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Archived

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

×
×
  • Create New...