Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bottom squooshed to right problem


ErikOS

Recommended Posts

More than likely it is either an extra or missing <td> <tr> <table> </td> </tr> or </table> tag.

Wendy James

 

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

Link to comment
Share on other sites

Here is my index.php do you see anything wrong?

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:37:59 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

// the following cPath references come from application_top.php

$category_depth = 'top';

if (isset($cPath) && tep_not_null($cPath)) {

$categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");

$cateqories_products = tep_db_fetch_array($categories_products_query);

if ($cateqories_products['total'] > 0) {

$category_depth = 'products'; // display products

} else {

$category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'");

$category_parent = tep_db_fetch_array($category_parent_query);

if ($category_parent['total'] > 0) {

$category_depth = 'nested'; // navigate through the categories

} else {

$category_depth = 'products'; // category has no products, but display the 'no products' message

}

}

}

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);

?>

<!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; ?>">

<!--<title><?php //echo TITLE; Erik Elcsics Remove to match old shop default?></title>//-->

 

<?php

// Added Erik Elcsics BOF: WebMakers.com Changed: Header Tag Controller v1.0

// Replaced by header_tags.php

if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {

require(DIR_WS_INCLUDES . 'header_tags.php');

} else {

?>

<title><?php echo TITLE ?></title>

<?php

}

// Added Erik Elcsics EOF: WebMakers.com Changed: Header Tag Controller v1.0

?>

 

<!--<base href="<?php //echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; Remove Erik Elcsics put old shop line here?>">//-->

 

<!-- Erik Elcsics added this //-->

<base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<!-- Erik Elcsics added this header_eof //-->

 

<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; ?>" class="columnLeft" valign="top"><table class="columnLeft" border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

<?php

if ($category_depth == 'nested') {

$category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");

$category = tep_db_fetch_array($category_query);

?>

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

<tr>

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

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<tr>

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

<tr>

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

<tr>

<?php

if (isset($cPath) && strpos('_', $cPath)) {

// check to see if there are deeper categories within the current category

$category_links = array_reverse($cPath_array);

for($i=0, $n=sizeof($category_links); $i<$n; $i++) {

$categories_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'");

$categories = tep_db_fetch_array($categories_query);

if ($categories['total'] < 1) {

// do nothing, go through the loop

} else {

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name");

break; // we've found the deepest category the customer is in

}

}

} else {

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name");

}

 

$number_of_categories = tep_db_num_rows($categories_query);

 

$rows = 0;

while ($categories = tep_db_fetch_array($categories_query)) {

$rows++;

$cPath_new = tep_get_path($categories['categories_id']);

$width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%';

echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n";

if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {

echo ' </tr>' . "\n";

echo ' <tr>' . "\n";

}

}

 

// needed for the new products module shown below

$new_products_category_id = $current_category_id;

?>

</tr>

</table></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>

</table></td>

</tr>

</table></td>

<?php

} elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) {

// create column list

$define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,

'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,

'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER,

'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE,

'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY,

'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT,

'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE,

'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW);

 

asort($define_list);

 

$column_list = array();

reset($define_list);

while (list($key, $value) = each($define_list)) {

if ($value > 0) $column_list[] = $key;

}

 

$select_column_list = '';

 

for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {

switch ($column_list[$i]) {

case 'PRODUCT_LIST_MODEL':

$select_column_list .= 'p.products_model, ';

break;

case 'PRODUCT_LIST_NAME':

$select_column_list .= 'pd.products_name, ';

break;

case 'PRODUCT_LIST_MANUFACTURER':

$select_column_list .= 'm.manufacturers_name, ';

break;

case 'PRODUCT_LIST_QUANTITY':

$select_column_list .= 'p.products_quantity, ';

break;

case 'PRODUCT_LIST_IMAGE':

$select_column_list .= 'p.products_image, ';

break;

case 'PRODUCT_LIST_WEIGHT':

$select_column_list .= 'p.products_weight, ';

break;

}

}

 

// show the products of a specified manufacturer

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

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

// We are asked to show only a specific category

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";

} else {

// We show them all

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";

}

} else {

// show the products in a given categorie

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

// We are asked to show only specific catgeory

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";

} else {

// We show them all

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";

}

}

 

if ( (!isset($HTTP_GET_VARS['sort'])) || (!ereg('[1-8][ad]', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'], 0, 1) > sizeof($column_list)) ) {

for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {

if ($column_list[$i] == 'PRODUCT_LIST_NAME') {

$HTTP_GET_VARS['sort'] = $i+1 . 'a';

$listing_sql .= " order by pd.products_name";

break;

}

}

} else {

$sort_col = substr($HTTP_GET_VARS['sort'], 0 , 1);

$sort_order = substr($HTTP_GET_VARS['sort'], 1);

$listing_sql .= ' order by ';

switch ($column_list[$sort_col-1]) {

case 'PRODUCT_LIST_MODEL':

$listing_sql .= "p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

break;

case 'PRODUCT_LIST_NAME':

$listing_sql .= "pd.products_name " . ($sort_order == 'd' ? 'desc' : '');

break;

case 'PRODUCT_LIST_MANUFACTURER':

$listing_sql .= "m.manufacturers_name " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

break;

case 'PRODUCT_LIST_QUANTITY':

$listing_sql .= "p.products_quantity " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

break;

case 'PRODUCT_LIST_IMAGE':

$listing_sql .= "pd.products_name";

break;

case 'PRODUCT_LIST_WEIGHT':

$listing_sql .= "p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

break;

case 'PRODUCT_LIST_PRICE':

$listing_sql .= "final_price " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

break;

}

}

?>

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

<tr>

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

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<?php

// optional Product List Filter

if (PRODUCT_LIST_FILTER > 0) {

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

$filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name";

} else {

$filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name";

}

$filterlist_query = tep_db_query($filterlist_sql);

if (tep_db_num_rows($filterlist_query) > 1) {

echo ' <td align="center" class="main">' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . TEXT_SHOW . ' ';

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);

$options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES));

} else {

echo tep_draw_hidden_field('cPath', $cPath);

$options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS));

}

echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']);

while ($filterlist = tep_db_fetch_array($filterlist_query)) {

$options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']);

}

echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"');

echo '</form></td>' . "\n";

}

}

 

// Get the right image for the top-right

$image = DIR_WS_IMAGES . 'table_background_list.gif';

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

$image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'");

$image = tep_db_fetch_array($image);

$image = $image['manufacturers_image'];

} elseif ($current_category_id) {

$image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");

$image = tep_db_fetch_array($image);

$image = $image['categories_image'];

}

?>

<td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

</table></td>

</tr>

<tr>

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

</tr>

<tr>

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

</tr>

</table></td>

<?php

} else { // default page

?>

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

<tr>

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

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

</table></td>

</tr>

<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">

<tr>

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

</tr>

<tr>

<td class="main"><?php echo tep_customer_greeting(); ?></td>

</tr>

<tr>

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

</tr>

<tr><td>

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

<td valign="top"><br><?php include(DIR_WS_MODULES . FILENAME_LS_WEB_TRAINING); ?></td>

<td valign="top"><br><?php include(DIR_WS_MODULES . FILENAME_LS_ANNOUNCEMENTS); ?></td>

</tr></table>

</td></tr>

<?php

include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);

?>

</table></td>

</tr>

</table></td>

<?php

}

?>

<!-- body_text_eof //-->

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

<!-- body_eof //-->

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Link to comment
Share on other sites

The date comes from includes/footer.php. If you made a change to this file, then maybe you should consider reloading a backup copy.

 

The column widths come from includes/application_top.php. Search for this:

// customization for the design layout

The column width's default is 125 pixels, so the line under this search should read:

define('BOX_WIDTH', 125);

If you want it to be the default width. A real small column width may scrunch the date up.

 

Maybe you changed stylesheet.css for the "footer" class. Stylesheet.css is in the catalog or root directory with the index.php file. If the footer class was changed it would have affected the date, too.

 

Danny

If I'm giving advice, it is based on what path I would take to fix your problem. My path may be wrong.

Link to comment
Share on other sites

When trying to track down an errant <td> <tr> <table> tag sometimes it's easiest to just copy the output of the page into an html file and go hunting from there. Once you find the problem it's usually pretty easy to backtrack into the osC files to correct it.

 

Hope that helps,

Iggy

Everything's funny but nothing's a joke...

Link to comment
Share on other sites

I looked at your index.php and didn't see anything wrong with it.

Did you alter your footer.php or maybe one of the boxes that show up in column_right.php?

 

Can you show us a link to your site?

Wendy James

 

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

Link to comment
Share on other sites

The date comes from includes/footer.php.  If you made a change to this file, then maybe you should consider reloading a backup copy.

 

The column widths come from includes/application_top.php.  Search for this:

// customization for the design layout

The column width's default is 125 pixels, so the line under this search should read:

define('BOX_WIDTH', 125);

If you want it to be the default width.  A real small column width may scrunch the date up.

 

Maybe you changed stylesheet.css for the "footer" class.  Stylesheet.css is in the catalog or root directory with the index.php file.  If the footer class was changed it would have affected the date, too.

 

Danny

 

Do you have any other ideas to try?

 

my site is http://www.lifesafety.com/shop

 

Thanks :thumbsup:

Link to comment
Share on other sites

This happens when you alter the table structure in your root level index.php page. Restore that page with an unedited (default) version and this will restore the table structure.

 

Vger

Link to comment
Share on other sites

This happens when you alter the table structure in your root level index.php page.  Restore that page with an unedited (default) version and this will restore the table structure.

 

Vger

 

Can you look at my site and see if it looks fixed. Just to make sure on 2 computers

 

Thanks, Erik

 

my site is http://www.lifesafety.com/shop

:D

Link to comment
Share on other sites

Emptied out my local cache and tried your site on IE6, Opera, Firefox and Mozilla browsers and the problem is still there on all of them. Restoring the root level index.php page should have fixed that.

 

Vger

Link to comment
Share on other sites

Emptied out my local cache and tried your site on IE6, Opera, Firefox and Mozilla browsers and the problem is still there on all of them.  Restoring the root level index.php page should have fixed that.

 

Vger

 

 

I tried it and it didn't work any other suggestions? Thanks

Link to comment
Share on other sites

Find

 

<!-- Verisign Logo eof-->

</td></tr>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

 

Add a </td></tr></table> like

 

<!-- Verisign Logo eof-->

</td></tr>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

</td>

</tr>

</table>

 

And your footer will span the bottom of the page. Alternatively you can find the extra table tag that begins the problem and try to delete it.

 

Found this one, BTW, by copying the output of your page, pasting it into an editor and changing the code. Really, it's the easiest way to do it.

 

Iggy

Everything's funny but nothing's a joke...

Link to comment
Share on other sites

That's a good one. I don't know.

 

Since it only happens on the category product display (but not all of them) take that as a clue and I think I'd look there first. Usually it's a description or something that pushes the table but in this case I don't think so.

 

You're in for some digging, buckle in ;)

 

Iggy

Everything's funny but nothing's a joke...

Link to comment
Share on other sites

That's a good one. I don't know.

 

Since it only happens on the category product display (but not all of them) take that as a clue and I think I'd look there first. Usually it's a description or something that pushes the table but in this case I don't think so.

 

You're in for some digging, buckle in  ;)

 

Iggy

 

Is it the product_info.php? If so I can post it, and if you see anything that jumps at you for what the problem is?

Link to comment
Share on other sites

Does anyone have an idea what is doing this? Thanks!

 

This is a sample problem (the right side is stretch too much)

:'(

http://www.lifesafety.com/shop/index.php/c...2538f41d753d9ca

 

and this is the code when I view source from the brower for the page

 

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html dir="LTR" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<!--<title></title>//-->

 

<!-- BOF: Generated Meta Tags -->

<META NAME="Reply-to" CONTENT="[email protected]">

<META NAME="Description" Content=" Lifesafety Associates provides emergency response and disaster preparedness supplies and training.">

<META NAME="Keywords" CONTENT="AED defibrilator mre emergency response training disaster preparedness first aid medical supplies ">

<title>Life Safety Product Catalog Emergency Response Team Signs</title>

<!-- EOF: Generated Meta Tags -->

 

<!--<base href="">//-->

 

<!-- Erik Elcsics added this //-->

<base href="http://www.lifesafety.com/shop/">

<!-- Erik Elcsics added this header_eof //-->

 

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

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

<tr class="header">

<td valign="middle"><a href="http://www.lifesafety.com/shop/index.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img'>http://www.lifesafety.com/shop/index.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/oscommerce.gif" border="0" alt="osCommerce" title=" osCommerce " width="642" height="72"></a></td>

<td align="right" valign="bottom"></td>

</tr>

</table>

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

<tr class="headerNavigation">

<td class="headerNavigation">  <a href="http://www.lifesafety.com" class="headerNavigation">Top</a> » <a href="http://www.lifesafety.com/shop/index.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca" class="headerNavigation">Catalog</a> » <a href="http://www.lifesafety.com/shop/index.php/cPath/21?osCsid=b23d9a9def1414cbd2538f41d753d9ca" class="headerNavigation">Emergency Medical</a> » <a href="http://www.lifesafety.com/shop/index.php/cPath/21_30?osCsid=b23d9a9def1414cbd2538f41d753d9ca" class="headerNavigation">Emergency Response Team Signs</a></td>

<td align="right" class="headerNavigation"><a href="https://www.lifesafety.com/shop/account.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca" class="headerNavigation">My Account</a>  |  <a href="http://www.lifesafety.com/shop/shopping_cart.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca" class="headerNavigation">Cart Contents</a>  |  <a href="https://www.lifesafety.com/shop/checkout_shipping.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca" class="headerNavigation">Checkout</a>   </td>

</tr>

</table>

<!-- header_eof //-->

 

<!-- body //-->

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

<tr>

<td width="155" class="columnLeft" valign="top"><table class="columnLeft" border="0" width="155" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<!-- categories //-->

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

<td width="100%" height="14" class="infoBoxHeading">Product Categories</td>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

</tr>

</table>

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

<tr>

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

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td align="left" class="boxText"><hr width=75%><a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/21?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><b>Emergency Medical</b>-></a><br><br>  <a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/21_27?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Automated External Defibrillator</a><br><br>  <a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/21_26?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Emergency Response Paks</a><br><br>  <a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/21_92?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Emergency Equipment & Supplies</a><br><br>  <a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/21_30?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><b>Emergency Response Team Signs</b></a><br><br>  <a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/21_81?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Client Specific Response Paks-></a><br><br><hr width=75%><a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/33?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Disaster Preparedness-></a><br><br><hr width=75%><a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/31?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Medical & First Aid Supplies-></a><br><br><hr width=75%><a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/32?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Hazardous Materials-></a><br><br><hr width=75%><a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/22?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Safety Equip./Supplies-></a><br><br><hr width=75%><a class="headerNavigation" href="http://www.lifesafety.com/shop/index.php/cPath/77?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Online Training</a><br><br></td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- categories_eof //-->

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

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

<tr>

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

<tr>

<td class="pageHeading">Product Category Contents</td>

<td align="right"><img src="images/MERTsign new.jpg" border="0" alt="Product Category Contents" title=" Product Category Contents " width="200" height="79"></td>

</tr>

</table></td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>

</tr>

<tr>

<td> <form name="cart_multi" method="post" action="http://www.lifesafety.com/shop/shopping_cart.php/cPath/21_30/sort/2a/action/add_multi?osCsid=b23d9a9def1414cbd2538f41d753d9ca" ><input type="hidden" name="osCsid" value="b23d9a9def1414cbd2538f41d753d9ca" />

 

<input type="hidden" name="products_id[2]" value="189">

<input type="hidden" name="products_id[3]" value="237">

<input type="hidden" name="products_id[4]" value="188">

<input type="hidden" name="products_id[5]" value="58">

<input type="hidden" name="products_id[6]" value="187">

<input type="hidden" name="products_id[7]" value="60">

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

<tr>

<td align="center" class="productListing-heading">  </td>

<td class="productListing-heading"> <a href="http://www.lifesafety.com/shop/index.php/cPath/21_30/page/1/sort/2d?osCsid=b23d9a9def1414cbd2538f41d753d9ca" title="Sort products descendingly by Product Name" class="productListing-heading">Product Name+</a> </td>

<td align="center" class="productListing-heading">  </td>

<td align="right" class="productListing-heading"> <a href="http://www.lifesafety.com/shop/index.php/cPath/21_30/page/1/sort/4a?osCsid=b23d9a9def1414cbd2538f41d753d9ca" title="Sort products ascendingly by Price" class="productListing-heading">Price</a> </td>

</tr>

<tr class="productListing-odd">

<td align="center" class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/189?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/Clear sign.jpg" border="0" alt="Clear Plastic Cubicle Sign - Placard" title=" Clear Plastic Cubicle Sign - Placard " width="75" height="75"></a> </td>

<td class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/189?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Clear Plastic Cubicle Sign - Placard</a> </td>

<td align="center" class="productListing-data"><input type="text" name="add_id[2]" value="0" maxlength="5" size="5"></td>

<td align="right" class="productListing-data"> $19.95 </td>

</tr>

<tr class="productListing-even">

<td align="center" class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/237?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/mertwbase.jpg" border="0" alt="Cubicle Sign - Custom" title=" Cubicle Sign - Custom " width="75" height="75"></a> </td>

<td class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/237?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Cubicle Sign - Custom</a> </td>

<td align="center" class="productListing-data"><input type="text" name="add_id[3]" value="0" maxlength="5" size="5"></td>

<td align="right" class="productListing-data"> $12.95 </td>

</tr>

<tr class="productListing-odd">

<td align="center" class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/188?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/first aid sign red.jpg" border="0" alt="Custom Plastic Response Sign-Placard" title=" Custom Plastic Response Sign-Placard " width="75" height="75"></a> </td>

<td class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/188?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Custom Plastic Response Sign-Placard</a> </td>

<td align="center" class="productListing-data"><input type="text" name="add_id[4]" value="0" maxlength="5" size="5"></td>

<td align="right" class="productListing-data"> $6.95 </td>

</tr>

<tr class="productListing-even">

<td align="center" class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/58?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/Flag Sign2.jpg" border="0" alt="Flag Sign - 12" Response Sign - Placard Signs" title=" Flag Sign - 12" Response Sign - Placard Signs " width="75" height="75"></a> </td>

<td class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/58?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Flag Sign - 12" Response Sign - Placard Signs</a> </td>

<td align="center" class="productListing-data"><input type="text" name="add_id[5]" value="0" maxlength="5" size="5"></td>

<td align="right" class="productListing-data"> $12.95 </td>

</tr>

<tr class="productListing-odd">

<td align="center" class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/187?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/ciscosign.jpg" border="0" alt="Hanging Response Sign - Placard Signs" title=" Hanging Response Sign - Placard Signs " width="75" height="75"></a> </td>

<td class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/187?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Hanging Response Sign - Placard Signs</a> </td>

<td align="center" class="productListing-data"><input type="text" name="add_id[6]" value="0" maxlength="5" size="5"></td>

<td align="right" class="productListing-data"> $21.95 </td>

</tr>

<tr class="productListing-even">

<td align="center" class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/60?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/MERTsign new.jpg" border="0" alt="Rectangular Response Sign - Placards Signs" title=" Rectangular Response Sign - Placards Signs " width="75" height="75"></a> </td>

<td class="productListing-data"> <a href="http://www.lifesafety.com/shop/product_info.php/cPath/21_30/products_id/60?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Rectangular Response Sign - Placards Signs</a> </td>

<td align="center" class="productListing-data"><input type="text" name="add_id[7]" value="0" maxlength="5" size="5"></td>

<td align="right" class="productListing-data"> $6.95 </td>

</tr>

</table>

<table border="0" width="100%" cellspacing="2" cellpadding="2" class="productListing-data">

<tr>

<td align="left" class="main"><a href="https://www.lifesafety.com/shop/checkout_payment.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="includes/languages/english/images/buttons/button_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="104" height="26"></a></td>

<td align="right" class="main"><input type="image" src="includes/languages/english/images/buttons/button_in_cart.gif?osCsid=b23d9a9def1414cbd2538f41d753d9ca" border="0" alt="In Cart" title=" In Cart "></td>

</tr>

</table>

</form>

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

<tr>

<td class="smallText">Displaying <b>1</b> to <b>6</b> (of <b>6</b> products)</td>

<td class="smallText" align="right">Result Pages:  <b>1</b> </td>

</tr>

</table>

</td>

</tr>

</table></td>

<!-- body_text_eof //-->

<td width="155" valign="top"><table border="0" width="155" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

<!-- shopping_cart //-->

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

<td width="100%" height="14" class="infoBoxHeading">Shopping Cart</td>

<td height="14" class="infoBoxHeading"><a href="http://www.lifesafety.com/shop/shopping_cart.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

</tr>

</table>

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

<tr>

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

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td class="boxText">0 items</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- shopping_cart_eof //-->

<!-- search //-->

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

<td width="100%" height="14" class="infoBoxHeading">Quick Find</td>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

</tr>

</table>

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

<tr>

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

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td align="center" class="boxText"><form name="quick_find" action="http://www.lifesafety.com/shop/advanced_search_result.php" method="get"><input type="hidden" name="osCsid" value="b23d9a9def1414cbd2538f41d753d9ca" /><input type="text" name="keywords" size="10" maxlength="30" style="width: 125px"> <input type="hidden" name="osCsid" value="b23d9a9def1414cbd2538f41d753d9ca"><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif?osCsid=b23d9a9def1414cbd2538f41d753d9ca" border="0" alt="Quick Find" title=" Quick Find "><br>Use keywords to find the product you are looking for.<br><a href="http://www.lifesafety.com/shop/advanced_search.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><b>Advanced Search</b></a></form></td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- search_eof //-->

<!-- Card Info Box //-->

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

<td width="100%" height="14" class="infoBoxHeading">We accept checks, money orders, purchase orders, and</td>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

</tr>

</table>

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

<tr>

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

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td align="center" class="boxText"><img src="images/cards.gif" border="0" alt="" width="153" height="40"></td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

</td>

</tr>

</table>

</td></tr>

<!-- card_eof //--><!-- specials //-->

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

<td width="100%" height="14" class="infoBoxHeading">Specials</td>

<td height="14" class="infoBoxHeading"><a href="http://www.lifesafety.com/shop/specials.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

</tr>

</table>

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

<tr>

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

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td align="center" class="boxText"><a href="http://www.lifesafety.com/shop/product_info.php/products_id/182?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/vest.jpg" border="0" alt="Safety & Response Vests - Premium - Plain Panel" title=" Safety & Response Vests - Premium - Plain Panel " width="75" height="75"></a><br><a href="http://www.lifesafety.com/shop/product_info.php/products_id/182?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Safety & Response Vests - Premium - Plain Panel</a><br><s>$34.95</s><br><span class="productSpecialPrice">$19.95</span></td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- specials_eof //-->

<!-- whats_new //-->

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

<td width="100%" height="14" class="infoBoxHeading">What's New?</td>

<td height="14" class="infoBoxHeading"><a href="http://www.lifesafety.com/shop/products_new.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/infobox/arrow_right.gif" border="0" alt="more" title=" more " width="12" height="10"></a><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

</tr>

</table>

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

<tr>

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

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td align="center" class="boxText"><a href="http://www.lifesafety.com/shop/product_info.php/products_id/297?osCsid=b23d9a9def1414cbd2538f41d753d9ca"><img src="images/clipboardpen.gif" border="0" alt="Intel Clipboard (6" x 9") with Pen" title=" Intel Clipboard (6" x 9") with Pen " width="75" height="75"></a><br><a href="http://www.lifesafety.com/shop/product_info.php/products_id/297?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Intel Clipboard (6" x 9") with Pen</a><br>$4.09</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- whats_new_eof //-->

<!-- information //-->

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

<td width="100%" height="14" class="infoBoxHeading">Information</td>

<td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>

</tr>

</<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">

<tr>

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

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

<tr>

<td align="left" class="boxText"><a href="http://www.lifesafety.com/shop/shipping.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Shipping & Returns</a><br><a href="http://www.lifesafety.com/shop/privacy.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Privacy Notice</a><br><a href="http://www.lifesafety.com/shop/conditions.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Conditions of Use</a><br><a href="http://www.lifesafety.com/shop/contact_us.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Contact Us</a><br><a href="http://www.lifesafety.com/shop/about.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">About this site</a><br><a href="http://www.lifesafety.com/shop/security.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Security</a><br><a href="http://www.lifesafety.com/shop/pdf_catalogue_info.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Downloadable catalog</a><br><!-- BEGIN: Constant Contact HTML for OptIn Tag -->

<center>

<hr width=75%>

<form name="ccoptin" action="http://ccprod.roving.com/roving/d.jsp" target="_blank" method="post">

<table border=0 cellpadding="3" cellspacing="0">

<tr><td align="center"><font size=2 face="Verdana,Arial,Helvetica">Join Life Safety Associates mailing list </font></td></tr>

<tr><td align="center"><font size=2 face="Verdana,Arial,Helvetica"><b>Email:</b>

<input type=text name="ea" size=25>

<input type=hidden name="m" value="1011061304467">

<input type=hidden name="p" value="oi">

<input type=submit name="go" value="Go">

</font></td></tr>

</table></form></center>

<!-- End: Constant Contact HTML for OptIn Tag -->

</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- information_eof //-->

<tr><td>

<!-- Verisign Logo -->

<center>

<a href="https://digitalid.verisign.com/as2/5db96292f30e9608620a1cbe03145d28" target="#">

<img src="images/Secure-White98x102.gif" width="98" height="100" border="0">

</a>

</center>

<!-- Verisign Logo eof-->

</td></tr>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

</td>

</tr>

</table>

 

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

<!-- body_eof //-->

 

<!-- footer //-->

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

<tr class="footer">

<td class="footer">  Sunday 12 June, 2005  </td>

<td align="right" class="footer">  <a href="allprods.php" class="headerNavigation">View all products in the catalog</a>  </td>

</tr>

</table>

<br>

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

<tr>

<td align="center" class="smallText">

Copyright © 2002 <a href="http://www.lifesafety.com" target="_blank">LifeSafety Associates</a> </td>

</tr>

</table>

<!-- footer_eof //-->

<br>

</body>

</html>

Link to comment
Share on other sites

I saved your source code like Iggy recommended for Emergency Response Paks and your index.php file.

 

I found a missing </table> tag in the Information box on the Emergency Response Paks page. The following code is just for the Information Box. Look at line 10 of this code's section. It should say </table> instead of </

<!-- information //-->
         <tr>
           <td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
   <td width="100%" height="14" class="infoBoxHeading">Information</td>
   <td height="14" class="infoBoxHeading"><img src="images/pixel_trans.gif" border="0" alt="" width="11" height="14"></td>
 </tr>
</<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
   <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
   <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
   <td align="left" class="boxText"><a href="http://www.lifesafety.com/shop/shipping.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Shipping & Returns</a><br><a href="http://www.lifesafety.com/shop/privacy.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Privacy Notice</a><br><a href="http://www.lifesafety.com/shop/conditions.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Conditions of Use</a><br><a href="http://www.lifesafety.com/shop/contact_us.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Contact Us</a><br><a href="http://www.lifesafety.com/shop/about.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">About this site</a><br><a href="http://www.lifesafety.com/shop/security.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Security</a><br><a href="http://www.lifesafety.com/shop/pdf_catalogue_info.php?osCsid=b23d9a9def1414cbd2538f41d753d9ca">Downloadable catalog</a><br><!-- BEGIN: Constant Contact HTML for OptIn Tag  -->
   <center>
   <hr width=75%>
   <form name="ccoptin" action="http://ccprod.roving.com/roving/d.jsp" target="_blank" method="post">
   <table border=0 cellpadding="3" cellspacing="0">
   <tr><td align="center"><font size=2 face="Verdana,Arial,Helvetica">Join Life Safety Associates mailing list </font></td></tr>
   <tr><td align="center"><font size=2 face="Verdana,Arial,Helvetica"><b>Email:</b>
   <input type=text name="ea" size=25>
   <input type=hidden name="m" value="1011061304467">
   <input type=hidden name="p" value="oi">
   <input type=submit name="go" value="Go">
   </font></td></tr>
   </table></form></center>
   <!-- End: Constant Contact HTML for OptIn Tag -->
   </td>
 </tr>
 <tr>
   <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
           </td>
         </tr>
<!-- information_eof //-->

 

It looks like something was probably added or changed and when it was highlighted part of the /table tag was deleted by accident.

 

I don't know where to look for the missing /table tag, but I would look in includes/boxes/information.php and includes/classes/boxes.php

 

Danny

If I'm giving advice, it is based on what path I would take to fix your problem. My path may be wrong.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...