Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
-
AbleMods
- Master Yoda

- Posts: 5170
- Joined: Wed Sep 26, 2007 5:47 am
- Location: Fort Myers, Florida USA
Post
by AbleMods » Sat Oct 11, 2008 10:17 pm
I'm having issues with image links I create on my AbleMods.com site.
They always have a purple border around them. I have no clue where to fix this, but I'm assuming it's in the style sheet somewhere. I'm allergic to CSS
Thoughts?
Examples:
http://www.AbleMods.com/default.aspx the little RSS feed icons shouldn't have that purple border.
http://www.ablemods.com/Downloads.aspx The problem is much more noticeable on my downloads page.
-
jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
-
Contact:
Post
by jmestep » Sun Oct 12, 2008 9:33 am
Try putting a .img{border:0;} in your style.css. At the top would be good. If that doesn't work, you would need to put it also in the section that has the image, like #leftPanel .img{border:0;}
-
afm
- Captain (CAPT)

- Posts: 339
- Joined: Thu Nov 03, 2005 11:52 pm
- Location: Portland, OR
-
Contact:
Post
by afm » Sun Oct 12, 2008 2:10 pm
I like to use Firebug for things this like this (Firebug is a plugin for FireFox). Here's a 30 second movie (made with Jing) showing how I can use Inspect to find the HTML and CSS that are used to render the element. In this case I found an img inside of an anchor and the style being applied was an anchor style. Then I turned on CSS editing (after a bit of fumbling) and added a nested anchor style:
a img { border: none}
The selector (a img) will select any img tag inside of an anchor tag. Then the style turns off the border. Notice that as soon as I type the closing brace, Firebug applies the style and the borders disappear. Now that we know what style works, you can add it to one of your style sheets.
click to watch the movie
Last edited by
afm on Mon Oct 13, 2008 3:50 am, edited 1 time in total.
-
Road Rider
- Commander (CMDR)

- Posts: 144
- Joined: Sat Jan 26, 2008 12:43 pm
-
Contact:
Post
by Road Rider » Sun Oct 12, 2008 3:27 pm
Joe:
If you have not solved your problem call me and I will help you out.
-
mazhar
- Master Yoda

- Posts: 5084
- Joined: Wed Jul 09, 2008 8:21 am
-
Contact:
Post
by mazhar » Mon Oct 13, 2008 1:46 am
I second the Andy's idea.
-
AbleMods
- Master Yoda

- Posts: 5170
- Joined: Wed Sep 26, 2007 5:47 am
- Location: Fort Myers, Florida USA
Post
by AbleMods » Mon Oct 13, 2008 5:09 am
afm wrote:a img { border: none}
Hey that worked perfectly.
Thanks Andy!!