PDA

View Full Version : styling image links



rebelbwb
04-17-2009, 01:24 AM
My issue is that I have a few image links all located within the same div. Right now all links within that div are styled in such a way so as to add a 1px dotted underline and then on hover it changes to a 1px solid line. What I'm finding is that my image links also end up with that same styling like all other links in that div, ie., 1px dotted border, etc.

What is the correct way to remove such styling from those image links to where all that shows is just the button and not that underlining?

Thanks

Snookerman
04-17-2009, 06:07 AM
Add this to your CSS code:

a img {
border: none;
}

Good luck!