Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 tmp_product.htm - border around image
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gta4
Starting Member

United Kingdom
5 Posts

Posted - April 10 2008 :  03:50:33  Show Profile  Reply with Quote
Hi Everyone

How will i put a border with colour around my product image in tmp_product.htm? At the moment heres the bit of code.....

<td valign=middle align=CENTER>
<img src="[extendedimage]" border="0" alt="[translate cname]" width="200" height="200" /></td>


in the <img> tag i have tried adding border="2" color="#475a2a" its adding a border but not changing it to that hex colour

Thanks

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - April 10 2008 :  04:54:50  Show Profile  Reply with Quote
Hi,

I think it is better if you create the image style in your shop.css file eg:

/* extended image format */
#piclarge
.img {
border-color:#475a2a;
border-bottom: 2px solid;
}


Then in any of your templates you can call this image style eg:

<img src="[extendedimage]" class="piclarge" alt="[translate cname]" width="200" height="200" />

Hope this helps,

Carrol
www.deanston-electrical.co.uk

Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - April 10 2008 :  04:57:03  Show Profile  Reply with Quote
Oops sorry about the type size, should have made the font larger

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

gta4
Starting Member

United Kingdom
5 Posts

Posted - April 10 2008 :  04:59:01  Show Profile  Reply with Quote
lol no worries carrol i can still see it ;-)

ill try that now, thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00