VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 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-ASP 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-ASP 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