Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Use images for box borders.


moonbeam

Recommended Posts

I have searched now for three and a half hours. Running short on time as my usual searches can last all day.

 

I have seen people use images to frame their boxes. I have replaced the box headers with images. But, what about the rest of the box? Ie. sides and bottom.

How do they graphic those?

 

Always greatful,

Moon

"Woohoo, Just Havin Funnn!"

Link to comment
Share on other sites

 <table width="144" border="0" cellspacing="0" cellpadding="1" class="infoboxborder">
     <tr>
       <td>          <table width=100% border=0 cellpadding=0 cellspacing=0 class="infoBoxContents">
           <tr> 
             <td colspan=3 width="100%"> </td>
           </tr>
           <tr> 
             <td> 
<?php
 $aa = 0;
 $info_box_contents = array();
//  $info_box_contents[] = array('align' => 'left',
//                              'text'  => BOX_HEADING_CATEGORIES


yada yada code ..........

 

 

 

 

//////////////////////////////////

includes/boxes/mybox.php

 

Per indiviudual box, you can place html after this

 

<!-- categories //-->
         <tr>
 <td>

 

and before this

 

 </td>
</tr>
<!-- categories_eof //-->

 

To get your desired effect.

 

Hope that helps, not makes it worse :)

Link to comment
Share on other sites

Thanks,

It looks like it pulls same image used in the box heading. Is that correct?

 

And the yada yada indicates a repeat of the above lines for right and bottom?

 

Always greatful,

Moon

"Woohoo, Just Havin Funnn!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...