fridayteam
Member
Posted 4 years ago #
Hello!
Please have a look at the blog http://www.go2malawi.com/blog/ and see if you can tell me how to remove an obviously default setting (somewhere) to remove the border on any image that also has a hyperlink.
I don't as a rule like borders, so some support on this would be marvelous, thank you.
in your style.css
where ithas
img {
add
border: none;
fridayteam
Member
Posted 4 years ago #
nope, that code is not even in the style.css
what should I do next?
Add this to your style.css file:
img {
border: none;
}
Actually, as a just-in-case, add this:
img, img a {
border: none;
}
unless you want some of your image links to HAVE borders.
fridayteam
Member
Posted 4 years ago #
Thanks, does that go in any particular place? Or just at the end of all the really easy to understand stuff that lives in there?
fridayteam
Member
Posted 4 years ago #
Found this also:
http://www.brokenkode.com/board/viewtopic.php?id=108
going to put that bit of code somewhere and see what happens.......
I generally put that toward the top of the css file, just below the body declaration. No special reason, just how I do it....
[Um. "border: none;" and "border: 0;" are exactly the same thing.... don't use it twice, pick one or the other....]
fridayteam
Member
Posted 4 years ago #
Thanks a lot, I put it under a title called 'universal elements' and it worked.
Much relief, thanks for all your help.
You're very welcome. Best of luck....