a img {border: none;}
- Started
- Last post
- 20 Responses
- Atkinson
http://www.craigatkinson.co.uk/o…
I have CSS for the main menu. I don't want it to affect images, thumbs or main. I have used
a img {border: none;}
but I need something else I think. First person to solve [cross browser] and email me code gets a free zine and stickers! Sorry I don't have any money!
- rson0
- Atkinson0
I'm using firefox on mac, problem persists
- rson0
that should work. What is this shit
onclick="toggleImg(8,420,600,200... false;">
- Corvo20
Nothing happens when you click any link under "publications", mr A.
- Atkinson0
rson - indexhibit stuff I guess. Who knows?
- ********0
What actually is the problem??
- Atkinson0
a img {border: none !important;}
img a:hover {border: none !important;}
img a:hover { background: none; }
img a:hover { text-decoration: none; background-color:none; }none work
- rson0
What is the problem? The yellow behind the hover?
- ********0
#img-container a:hover { background: none; }
- rson0
you need to set up a class
a.nav:link {color: red; text-decoration: none; }
a.nav:visited {color: purple; text-decoration: none; }
a.nav:hover {color: orange; text-decoration: underline; }
a.nav:active {color: blue; }
- jaylarson0
a:hover { text-decoration: underline; background-color:yellow; }
is your problem. you need to specify code for class:thumb-ing {background-color:white;} or something else. maybe inherit. You'll need that for you look and for validation.
- jaylarson0
make:
.thumb-img { #position: relative; width: 220px; display:block; }.thumb-img { #position: relative; width: 220px; display:block; background-color:white;}
- ********0
a.thumb-img { background-color: transparent; }
- can I have my zine please? ;)********
- Now why didn't I see that class?********
- can I have my zine please? ;)
- ********0
Maybe then...
#img-container .thumb-it a:hover { background: none; }- because the yellow bg color has been set for the anchor element, setting the background color for a class of the anchor element will take precedent due to the greater specificity involved .. no :hover selector will be needed.********
- the anchor element will take precedent due to the greater specificity involved .. no :hover selector will be needed.********
- *no :hover pseudo element********
- because the yellow bg color has been set for the anchor element, setting the background color for a class of the anchor element will take precedent due to the greater specificity involved .. no :hover selector will be needed.
- Shaney0
Why not set up a class for your nav links as rson said above and then reset your default link style?
- Atkinson0
moth / lukus-w email me your addresses please. Thanks for the help