Page is a not externally linkable
- WebmasterWorld
-- Ecommerce
---- How to change column bg color in oscommerce


ytswy - 1:12 pm on Mar 5, 2008 (gmt 0)


I think this is one of those cases where you start to curse osc.

As far as I'm aware there is no css class applied to the left and right columns, the relevant bit in the html/php (on each main page) is as follows:

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>

In column_left.php and column_right.php are calls to the various boxes that are included - each of these will start with a <tr> tag, so you are denied the chance of inserting a legal container in the included column files since (AFAIK) you can't place anything between a <table> and a <tr>.

To the best of my knowledge, I believe you need to add a class manually to each main page and then apply a style to it in the css - hope you have a text editor with a decent search and replace function...


Thread source:: http://www.webmasterworld.com/ecommerce/3591481.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com