Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

table overlapping


shehzu

Recommended Posts

Posted

hi guys I`m having a problem where my table is overlapping

 

here`s the code

 

<strong><u>Main Product Features:</u></strong></p>
<ul>
<li>
 <strong>4.3” Sunlight Readable</strong> Panel with Projective Capacitive Multi-touch.</li>
<li>
 Built-in Wi-Fi /  Bluetooth / GPS / Optional <strong>3G</strong></li>
<li>
 Built-in 2 Mega-pixel camera at front side and <strong>5 Mega-pixel camera</strong> with LED at rear side</li>
<li>
 Large capacity Li-poly 2400mAh Battery</li>
<li>
 Water and dust proof <strong>IP66</strong> design</li>
<li>
 Compliance with <strong>MIL-STD-810F</strong> for High/Low temperature, Vibration, Drop test</li>
<li>
 Supports <strong>Windows Mobile 6.5</strong> Professional or <strong>Android 2.3.4</strong> operating system</li>
<li>
 U-Blox <strong>GPS</strong> module</li>
<li>
 Optional <strong>Barcode scanner</strong> -or- <strong>RFID</strong> reader (HF/13.56MHZ, distance is 5cm) -or- Spectrometer</li>
</ul>
<p>
 </p>
<p>
<strong><u>Full Product Specification:</u></strong></p>
<p>
 </p>
<table border="1" bordercolor="#cccccc" cellpadding="5" cellspacing="0">
<tbody>
 <tr>
  <td rowspan="4">
   System Specification</td>
  <td>
   Processor choices</td>
  <td>
   Marvel ARM 11 @ 600 MHz -or- TI OMAP Cortex A8 @ 1GHz</td>
 </tr>
 <tr>
  <td>
   System Memory</td>
  <td>
   512MB SDRAM</td>
 </tr>
 <tr>
  <td>
   Storage</td>
  <td>
   512MB NAND flash</td>
 </tr>
 <tr>
  <td>
   Opearting System</td>
  <td>
   Android 2.3</td>
 </tr>
 <tr>
  <td colspan="3">
    </td>
 </tr>
 <tr>
  <td rowspan="4">
   Display Specification</td>
  <td>
   Size</td>
  <td>
   4.3"</td>
 </tr>
 <tr>
  <td>
   Resolution</td>
  <td>
   480 x 800</td>
 </tr>
 <tr>
  <td>
   Brightness</td>
  <td>
   400 nits, 800:1 contrast ratio</td>
 </tr>
 <tr>
  <td>
   Touch</td>
  <td>
   Multi-touch Projective Capactive</td>
 </tr>
 <tr>
  <td colspan="3">
    </td>
 </tr>
 <tr>
  <td rowspan="4">
   Wireless<br />
   Communication</td>
  <td>
   WLAN</td>
  <td>
   802.11 b/g</td>
 </tr>
 <tr>
  <td>
   Bluetooth</td>
  <td>
   Bluetooth V2.1+EDR</td>
 </tr>
 <tr>
  <td>
   WWAN</td>
  <td>
   3.5G (optional)</td>
 </tr>
 <tr>
  <td>
   GPS</td>
  <td>
   Built-in GPS module</td>
 </tr>
 <tr>
  <td colspan="3">
    </td>
 </tr>
 <tr>
  <td rowspan="7">
   Mechanical and<br />
   Environment</td>
  <td>
   Dimensions (W x L x H)</td>
  <td>
   132.2 x 82 x 21.5 mm</td>
 </tr>
 <tr>
  <td>
   Operation Temperature</td>
  <td>
   -10°C ~60°C</td>
 </tr>
 <tr>
  <td>
   Shock</td>
  <td>
   Shock MIL-STD-810F M516.5</td>
 </tr>
 <tr>
  <td>
   Vibration</td>
  <td>
   Vibration MIL-STD-810F M514.5</td>
 </tr>
 <tr>
  <td>
   Drop</td>
  <td>
   MIL-STD-810F M516.5, 4 ft, Free to concrete</td>
 </tr>
 <tr>
  <td>
   Certitications</td>
  <td>
   CE, FCC,CCC.UL</td>
 </tr>
 <tr>
  <td>
   Weight</td>
  <td>
   230g (±1.5g)</td>
 </tr>
 <tr>
  <td colspan="3">
    </td>
 </tr>
 <tr>
  <td rowspan="7">
   I/O Connectors</td>
  <td rowspan="2">
   External I/O</td>
  <td>
   1 x Micro USB</td>
 </tr>
 <tr>
  <td>
   1 x 3.5mm Audio jack for Micphone and earphone</td>
 </tr>
 <tr>
  <td rowspan="2">
   Internal I/O</td>
  <td>
   1 x SIM card slot</td>
 </tr>
 <tr>
  <td>
   1 x Micro SD card slot</td>
 </tr>
 <tr>
  <td rowspan="3">
   Intenal Audio Device</td>
  <td>
   1 x Microphone</td>
 </tr>
 <tr>
  <td>
   1 x Earpiece</td>
 </tr>
 <tr>
  <td>
   1 x Speaker</td>
 </tr>
 <tr>
  <td colspan="3">
    </td>
 </tr>
 <tr>
  <td rowspan="5">
   Controls</td>
  <td rowspan="5">
   Control button</td>
  <td>
   1 x Volume +</td>
 </tr>
 <tr>
  <td>
   1 x Volume -</td>
 </tr>
 <tr>
  <td>
   1 x Power button</td>
 </tr>
 <tr>
  <td>
   1 x Function button</td>
 </tr>
 <tr>
  <td>
   4 x Capactive buttons:Home/ Menu/ ESC/ Search functions</td>
 </tr>
 <tr>
  <td colspan="3">
    </td>
 </tr>
 <tr>
  <td rowspan="3">
   Field Service</td>
  <td>
   LED indicator</td>
  <td>
   1 x LED indicator</td>
 </tr>
 <tr>
  <td>
   Light Sensor</td>
  <td>
   Built-in</td>
 </tr>
 <tr>
  <td>
   Proximity (Light) Sensor</td>
  <td>
   Built-in</td>
 </tr>
 <tr>
  <td colspan="3">
    </td>
 </tr>
 <tr>
  <td rowspan="3">
   Power</td>
  <td>
   Battery</td>
  <td>
   3.7V 2400mAh Li-poly rechargeable battery</td>
 </tr>
 <tr>
  <td>
   Battery Operating Time</td>
  <td>
   Low Use Case:8.6Hr(Backlight at 10% duty cycle,default<br />
   level,idle)</td>
 </tr>
 <tr>
  <td>
   Adapter</td>
  <td>
   5V 1A Adapter</td>
 </tr>
</tbody>
</table>  </h2>
 </div>

post-318281-0-46954800-1355403780_thumb.jpg

Posted

@@shehzu

 

Showing us the browser source code won't help use, we would need to see the product_info.php code and a link to the site would also help as your picture doesn't show us much.

 

 

 

 

Chris

Posted

@@DunWeb

 

<?php
/*
 $Id$
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com
 Copyright (c) 2010 osCommerce
 Released under the GNU General Public License
*/
 require('includes/application_top.php');
 if (!isset($HTTP_GET_VARS['products_id'])) {
   tep_redirect(tep_href_link(FILENAME_DEFAULT));
 }
 require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);
 $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
 $product_check = tep_db_fetch_array($product_check_query);
 require(DIR_WS_INCLUDES . 'template_top.php');
 if ($product_check['total'] < 1) {
?>
<div class="contentContainer">
 <div class="contentText">
   <?php echo TEXT_PRODUCT_NOT_FOUND; ?>
 </div>
 <div style="float: right;">
   <?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT)); ?>
 </div>
</div>
<?php
 } else {
   $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
   $product_info = tep_db_fetch_array($product_info_query);
   tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");
   if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
  $products_price = '<del>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</del> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
   } else {
  $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
   }
   if (tep_not_null($product_info['products_model'])) {
  $products_name = $product_info['products_name'] . '<br /><span class="smallText">[' . $product_info['products_model'] . ']</span>';
   } else {
  $products_name = $product_info['products_name'];
   }
?>
<?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?>
<div>
 <h1 style="float: right;"><?php echo $products_price; ?></h1>
 <h1><?php echo $products_name; ?></h1>
</div>
<div class="contentContainer">
 <div class="contentText">
<?php
   if (tep_not_null($product_info['products_image'])) {
  $pi_query = tep_db_query("select image, htmlcontent from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$product_info['products_id'] . "' order by sort_order");
  if (tep_db_num_rows($pi_query) > 0) {
?>
   <div id="piGal" style="float: right;">
  <ul>
<?php
    $pi_counter = 0;
    while ($pi = tep_db_fetch_array($pi_query)) {
	  $pi_counter++;
	  $pi_entry = '	    <li><a href="';
	  if (tep_not_null($pi['htmlcontent'])) {
	    $pi_entry .= '#piGalimg_' . $pi_counter;
	  } else {
	    $pi_entry .= tep_href_link(DIR_WS_IMAGES . $pi['image'], '', 'NONSSL', false);
	  }
	  $pi_entry .= '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $pi['image']) . '</a>';
	  if (tep_not_null($pi['htmlcontent'])) {
	    $pi_entry .= '<div style="display: none;"><div id="piGalimg_' . $pi_counter . '">' . $pi['htmlcontent'] . '</div></div>';
	  }
	  $pi_entry .= '</li>';
	  echo $pi_entry;
    }
?>
  </ul>
   </div>
<script type="text/javascript">
$('#piGal ul').bxGallery({
 maxwidth: 300,
 maxheight: 200,
 thumbwidth: <?php echo (($pi_counter > 1) ? '75' : '0'); ?>,
 thumbcontainer: 300,
 load_image: 'ext/jquery/bxGallery/spinner.gif'
});
</script>
<?php
  } else {
?>
   <div id="piGal" style="float: right;">
  <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image'], '', 'NONSSL', false) . '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), null, null, 'hspace="5" vspace="5"') . '</a>'; ?>
   </div>
<?php
  }
?>
<script type="text/javascript">
$("#piGal a[rel^='fancybox']").fancybox({
 cyclic: true
});
</script>
<?php
   }
?>
<?php echo stripslashes($product_info['products_description']); ?>
<?php
   $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'");
   $products_attributes = tep_db_fetch_array($products_attributes_query);
   if ($products_attributes['total'] > 0) {
?>
   <p><?php echo TEXT_PRODUCT_OPTIONS; ?></p>
   <p>
<?php
  $products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");
  while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {
    $products_options_array = array();
    $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'");
    while ($products_options = tep_db_fetch_array($products_options_query)) {
	  $products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']);
	  if ($products_options['options_values_price'] != '0') {
	    $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
	  }
    }
    if (is_string($HTTP_GET_VARS['products_id']) && isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {
	  $selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];
    } else {
	  $selected_attribute = false;
    }
?>
  <strong><?php echo $products_options_name['products_options_name'] . ':'; ?></strong><br /><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?><br />
<?php
  }
?>
   </p>
<?php
   }
?>
   <div style="clear: both;"></div>
<?php
   if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
?>
   <p style="text-align: center;"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></p>
<?php
   }
?>
 </div>
<?php
   $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd where r.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' and reviews_status = 1");
   $reviews = tep_db_fetch_array($reviews_query);
?>
 <div class="buttonSet">
   <span class="buttonAction"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span>
   <?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params())); ?>
 </div>
<?php
   if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
   } else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
   }
?>
</div>
</form>
<?php
 }
 require(DIR_WS_INCLUDES . 'template_bottom.php');
 require(DIR_WS_INCLUDES . 'application_bottom.php');
?>

Posted

I was doing some research I guess I would have to change the page width,the middle one and make it bigger so it can accomodate the full tables [[correct me if i`m wrong ]]

 

I`m only having this problem where I have put tables, otherwise simple texts don`t affect the store at all

Posted

are you using a template? if so, try seeing it without the template. So many Template designers design with only their setup in mind, giving the illusion that their template will look great everywhere.

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Archived

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

×
×
  • Create New...