jgkiefer Posted March 8, 2003 Share Posted March 8, 2003 How do I change the background for the center table. It is not listed in the CSS and I cannot locate the code in default.php. Maybe I am looking in the wrong file? Link to comment Share on other sites More sharing options...
ashlyn Posted March 8, 2003 Share Posted March 8, 2003 Set the whole page background in the body tag of the stylesheet ------------------------------------------------------- I used to be insane, but now I'm just nuts ;) Link to comment Share on other sites More sharing options...
jgkiefer Posted March 8, 2003 Author Share Posted March 8, 2003 I want to set the center column to a different color than the background color. I do not know where to find the code to do this. Link to comment Share on other sites More sharing options...
ashlyn Posted March 8, 2003 Share Posted March 8, 2003 Ah ok, I get you now. From what I can see, you would need to edit most of the files to put the center into a table, give it a class and add it to the stylesheet. Going by the file shipping.php (in the information block, just chose a small one to show) you would have to find this section <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . '1icon.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><br><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo TEXT_INFORMATION; ?></td> </tr> </table></td> </tr> <tr> <td align="right" class="main"><br><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> </tr> </table></td> <!-- body_text_eof //--> and put all of that into it's own table. Then go from there. Sorry I can't give you a magic answer.. ------------------------------------------------------- I used to be insane, but now I'm just nuts ;) Link to comment Share on other sites More sharing options...
Ajeh Posted March 8, 2003 Share Posted March 8, 2003 A search on: center table and clicking all terms will give you a lot of threads with help on this. One that might help in particular is: http://www.oscommerce.com/forums/viewtopic.php...ht=center+table Link to comment Share on other sites More sharing options...
jgkiefer Posted March 8, 2003 Author Share Posted March 8, 2003 A search on: center table and clicking all terms will give you a lot of threads with help on this. One that might help in particular is: http://www.oscommerce.com/forums/viewtopic.php...ht=center+table Thanks! That did it! Link to comment Share on other sites More sharing options...
Ajeh Posted March 8, 2003 Share Posted March 8, 2003 Thought that might be the one that would work for you ... :D I did not go through the whole thing, but that was where I thought I answered it last time ... NOTE: Search is a wonderful tool if you just play a bit ... :wink: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.