Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

TABLE BORDER COLOUR


WickedCoolers

Recommended Posts

In header.php itself. Change:

 

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

 

to:

 

<table border="5" width="100%" cellspacing="0" cellpadding="0" bordercolor="#0000EE">

 

I just put in my own values for the border size and color... put whatever you like...... There is more info on bordercolor tags here:

 

http://www.htmlcodetutorial.com/tables/ind...amsupp_149.html

Link to comment
Share on other sites

thanks for that, very helpful :-)

 

the default colour is 2 shades of grey, one shade fills the top and left side and the other shade fills the bottom and right, do you know how I can have this?

The hardest thing in life is watching someone you love, love someone else.

Link to comment
Share on other sites

figures :-)

 

I deleted the left and right corner images form the boxes and for some reason the right arrow does not show anymore, this is what it looks like now:

 

 
class infoBoxHeading extends tableBox {
    function infoBoxHeading($contents, $right_arrow = true) {
      $this->table_cellpadding = '0';
 
      if ($right_arrow) {
        $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>';
      } else {
        $right_arrow = '';
      }
 
[code]
 
can you see any reason why that code should not display the arrow? and do you know how I can make the text in the box ie. Categories, into a link instead of having an arrow??

The hardest thing in life is watching someone you love, love someone else.

Link to comment
Share on other sites

You didn't need to delete code from this file to remove the corner images... just change the settings in the boxes files in catalog/includes/boxes.... eg. shopping cart.php:

 

 

 

  new infoBoxHeading($info_box_contents, false, true, tep_href_link(FILENAME_SHOPPING_CART));

 

to:

 

  new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SHOPPING_CART));

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...