Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Box Borders


Recommended Posts



I am working on this catalog: http://sunnyvalleywheatfree.com/catalog/index.php


If you look on http://sunnyvalleywheatfree.com/catalog/shipping.php and https://sunnyvalleywheatfree.com/catalog/login.php, you can see boxes in the center content area. I want to turn the gray borders off (although I want them to remain on the boxes in the left and right columns.)


Here is what I have tried:


* Searched style sheet for all instances of “border” and commented out the borders.


* Commented out the PHP statement in this line:

<td width="10"><?//php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

In case any of the attributes being applied to the seperator were causing the border.


* The two bits of code below are for two different table cells that have this border. There is no common element that could cause the border. The only thing that might would be a td style with a border setting, but there is none in the style sheet.


<td class="main" valign="top"><?php echo TEXT_NEW_CUSTOMER . '<br><br>' . TEXT_NEW_CUSTOMER_INTRODUCTION; ?></td>

<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>



* I searched the code of both https://sunnyvalleywheatfree.com/catalog/login.php and http://sunnyvalleywheatfree.com/catalog/shipping.php for the term “border”. Many table borders as specified, but they are all set to 0.


* The borders are not images or background images.


* The site has a second style sheet, for all the non-catalog pages, such as http://www.sunnyvalleywheatfree.com/celiac.php. This style sheet isn’t called to the catalog pages, however, and the only border settings in it are set to 0.


* I don’t see a setting for these borders anywhere in the osCommerce control panel.


* When I view source on http://sunnyvalleywheatfree.com/catalog/shipping.php, the table border for the bordered area is set to 0.


* I searched the images folders for files that might have a border image. There was one called pixel_silver.gif and another called pixel_black.gif. I searched the code for http://sunnyvalleywheatfree.com/catalog/shipping.php for these terms and they were not in the code.


None of these things worked.


Has anyone else found a solution to this?




Link to comment
Share on other sites

	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
	  <tr class="infoBoxContents">

		<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
			<td width="10"></td>
			<td align="right"><a href="http://sunnyvalleywheatfree.com/catalog/index.php"><img src="includes/languages/english/images/buttons/button_continue.gif" border="0" alt="Continue" title=" Continue " width="100" height="22"></a></td>
			<td width="10"></td>


remove infoBox class in the table above in the code.

Link to comment
Share on other sites

Aha!! Thank you! I am not used to all these nested tables.


For anyone who searches for an answer to this same problem and wants an explanation, here it is. (Hope I'm right, lol.)


The gray border is actually a background of a table. Another table with a white background is nested in it, so the grey from the background of the original table only shows at the edges.


Thank you!

Link to comment
Share on other sites


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

  • Create New...