Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pale blue borders to all boxes


Guest

Recommended Posts

does anyone know where i can find the fine pale blue border that surrounds the contact us 'name', 'e-mail' and 'message' box, and loads of other areas of osc?

 

can't find reference to it in stylesheet, root files at all

 

thank you

Link to comment
Share on other sites

look the .infoBox class in your .css file (the table cells overlap creating the border effect with cellpadding)

 

 

.infobox only has a background colour, there is no padding or anything else assigned.

 

Can you please explain further

 

thank you

Link to comment
Share on other sites

infobox only has a background colour

 

yes and the overlaping effect takes places like this: (just a portion from contact_us.php)

 

      <tr>
       <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents">
           <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr>
               <td class="smallText"><b><?php echo ENTRY_NAME; ?></b></td>
             </tr>
             <tr>
               <td class="main"><?php echo tep_draw_input_field('name'); ?></td>
             </tr>
             <tr>
               <td class="smallText"><b><?php echo ENTRY_EMAIL; ?></b></td>
             </tr>
             <tr>
               <td class="main"><?php echo tep_draw_input_field('email'); ?></td>
             </tr>

 

so here is the padding with the table definition followed by the .infoBoxContents to create the effect.

Link to comment
Share on other sites

yes and the overlaping effect takes places like this: (just a portion from contact_us.php)

 

 ? ? ?<tr>
? ? ? ?<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
? ? ? ? ?<tr class="infoBoxContents">
? ? ? ? ? ?<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
? ? ? ? ? ? ?<tr>
? ? ? ? ? ? ? ?<td class="smallText"><b><?php echo ENTRY_NAME; ?></b></td>
? ? ? ? ? ? ?</tr>
? ? ? ? ? ? ?<tr>
? ? ? ? ? ? ? ?<td class="main"><?php echo tep_draw_input_field('name'); ?></td>
? ? ? ? ? ? ?</tr>
? ? ? ? ? ? ?<tr>
? ? ? ? ? ? ? ?<td class="smallText"><b><?php echo ENTRY_EMAIL; ?></b></td>
? ? ? ? ? ? ?</tr>
? ? ? ? ? ? ?<tr>
? ? ? ? ? ? ? ?<td class="main"><?php echo tep_draw_input_field('email'); ?></td>
? ? ? ? ? ? ?</tr>

 

so here is the padding with the table definition followed by the .infoBoxContents to create the effect.

 

 

Thank You but that was not the box I was meaning.This is the actual box that the customer enters their information into.

 

 

 

blue.jpg

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...