5 replies [Last post]
charlene2021
Offline
Enthusiast
Last seen: 13 years 28 weeks ago
Joined: 2004-04-08
Posts: 86
Points: 0

At my wits end. I have an image link in which I can't get rid of the blue border (I want to keep the white border btw).
This is the website page in reference: http://www.sugar-buzz.net/stock-photos/animals-and-people/
CSS is here

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 10 weeks 3 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

a img {border: 0;}

a img {border: 0;}

Verschwindende wrote:
  • CSS doesn't make pies

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 8 years 18 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

the blue that you're seeing

the blue that you're seeing is actually the anchor background. You can set the image to vertical-align: bottom, or to maintain the space below the image set the background on the anchor to transparent.

charlene2021
Offline
Enthusiast
Last seen: 13 years 28 weeks ago
Joined: 2004-04-08
Posts: 86
Points: 0

I can be dense sometimes,

I can be dense sometimes, what do you mean by anchor background.

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 8 years 18 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

#content a, #content

#content a, #content a:visited { color: #3f5e67; background: #88cfe3; font-weight: bold; text-decoration: none; }

charlene2021
Offline
Enthusiast
Last seen: 13 years 28 weeks ago
Joined: 2004-04-08
Posts: 86
Points: 0

Good lord talk about a

Good lord talk about a blonde moment, and I have been dealing with CSS for 2 or so years now. fixed it now thanks