Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Center Table Background Color


jgkiefer

Recommended Posts

Posted

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?

Posted

Set the whole page background in the body tag of the stylesheet

-------------------------------------------------------

 

I used to be insane, but now I'm just nuts ;)

Posted

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.

Posted

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 ;)

Posted

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:

Archived

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

×
×
  • Create New...