img border
- Started
- Last post
- 8 Responses
- jimbojones
I specified that my links look like this:
a {
text-decoration: none;
border-bottom: 1px dotted blue;
color: blue;
}but all images that point to other sites also have that stupid border-bottom. How can I get rid of it? I really need the dotted underline for regular links.
I don't know shit about CSS so please be gentle!
- shitehawke0
Something like this in your css will work
a img {
border: 0;
}- nope, doesn't workjimbojones
- wait, it worked all the time for some img links, but others don't seem to carejimbojones
- hans_glib0
if i understand you right, you need to make a different class for your other site links:
a.othersite {
text-decoration: none;
border: 0px;
color: blue;
}then <a class="othersite" href="">link</a>
- oh... i didn't understand you right... what he said ^hans_glib
- that's kinda what I did, works well
thx!jimbojones
- Corvo20
img {
outline: none;
}should do it.
how did you do the italic?
- Yeah, this would be better alright.shitehawke
- nope :(
i tags, only works in first postjimbojones - ah.Corvo2
- Stugoo0
post a screen grab, im not sure im reading this right.
- Corvo20
what about
img a {
outline: none;
}
- shitehawke0
I WANT CSS STAT!
- Corvo20
is there php in the page?
- jimbojones0
nevermind chaps, got it sorted
thanks all!- You can't just leave it like that! What'd you do?shitehawke
- asigned an own a class to all text links, and a links with border: 0jimbojones
- Ah, I see.shitehawke
- thats what i said... XDhans_glib
- yep, thx hansjimbojones