NameSilo

Easy Tip For CSS 101: Eliminate borders on images with links

Spaceship Spaceship
Watch
Impact
417
This is basic CSS 101.
I'm posting it (to share with others) because I'm happy to have figured this out on my own, instead of asking for help.
~~~~~~~~

I was having trouble figuring out how to eliminate the borders on images which also are linked.
  • The borders are different colors in IE and FF.
  • Not having control over the design was 'driving me nuts'.

This seems to work.

img {
border: none;
}

~~~~
Easy?
"Yes"

EZ if you don't know how?

"NO" :'(

spring80mflp.jpg
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic

We're social

Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back