How did you add the image border in the stylesheet?
Could you please send the exact script.
Thanks
How did you add the image border in the stylesheet?
Could you please send the exact script.
Thanks
To add a border to all images the rule in the stylesheet would be:
img{
border: 1px solid #4d4d4d;
}
1px is the width of the border
solid is the style of the border
#4d4d4d is the color of the border
Nick
iszent.com
Thanks for the code.
However, when I do this, it adds a border even to the buttons. Incidentally, I have rounded buttons. Also to the logo image in the header and the bullets (images) in the category box. Have a look at http://raunharman.co.in/fashion_jewe...=index&cPath=8
So, this looks slightly odd.
Any help would be greatly appreciated.
Thanks.
So as niccol said, you would put the border on product images only.
Code:.categoryListBox img, .listingProductImage, .productMainImage img {border: 1px solid #4d4d4d;}
I cant get this to work on my main page. the border only comes up on the specific product's info page.
http://www.thegearvault.com
indexpage is listing New Products but I can't get them to have a border there or in their category listing.
will do the New Products but I suspect you won't like the effect...Code:.centerBoxContentsNew img{ border:3px red solid }
Likewise for the product listing:
Code:.listingProductImage{ border:3px solid red; }
Nick
iszent.com
I have included the suggested css in my stylesheet and it's not working. I'm trying to add a border to every product image on the site.