Replacing image default border with custom border
I am trying to replace the defaut grey & white border around images with a custom border (actually, a custom background with a frame) that I’ve created in photoshop (a GIF image) for a client’s website.
I tried adding css tweaks to custom.css, but the background image does not appear. This is what I did:
I created a CSS class for the image (named it imageborder)and then added the following to custom.css
background: http://www.jwconstructionanddesign.com/images/madusas/frameborder.gif (images/madusas/frameborder.gif) no-repeat;
padding: 2px 0 0 0;
What am I doing wrong? Is there another way to create a custom background/frame for the image?
Thanks a lot!
- The topic ‘Replacing image default border with custom border’ is closed to new replies.