View Single Post
  #4  
Old 10-19-2008, 09:23 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to add a thin frame work around category images?

In the other thread you referenced, it looks like this is what calls the icon image....
Code:
<td valign="top" width="70" align="center"> <a class="alt" href="home.php?cat={ $subcategories[cat_num].categoryid }"> [img]../icon.php?categoryid={$subcategories[cat_num].categoryid}[/img] </a> </td> <td align=left><a class="alt" href="home.php?cat={ $subcategories[cat_num].categoryid }"> {$subcategories[cat_num].category|escape}</a>
BTW - it looks like that code may be corrupted, the [img] tags should probably be <img>.

Anyway, what if you added a class to your stylesheet named maybe imgicon and have border: 1px solid #000000; as the properties?
Maybe something like...
<a class="alt" href="home.php?cat={ $subcategories[cat_num].categoryid }"><font class="imgicon"><img src../icon.php?categoryid={$subcategories[cat_num].categoryid}>
</font></a>
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote