Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Another question you guys


Guest

Recommended Posts

I'm pretty sure that the column background can't be set in stylesheet without creating a custom class for it and then applying the class to both of the <td> that hold the columns...

 

class .infoBoxContents will allow you set the box backgrounds, but AFAIKS the only way to get the area of the where the columns are is the use a fixed width table and then set the body background to an image to mimic background column colors.

Link to comment
Share on other sites

I'm pretty sure that the column background can't be set in stylesheet without creating a custom class for it and then applying the class to both of the <td> that hold the columns...

 

class .infoBoxContents will allow you set the box backgrounds, but AFAIKS the only way to get the area of the where the columns are is the use a fixed width table and then set the body background to an image to mimic background column colors.

 

Naw. just give the td a class, thus:

 

<td class="blah" width="<?php echo BOX_WIDTH; ?>" valign="top"><table 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>

 

Then in stylesheet:

 

.blah {

  background-color: #ff0000;

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...