Web Hosting Talk







View Full Version : Link Underline Going into other CSS classes


mealto
07-07-2008, 08:46 PM
When we use

border-bottom: 1px dashed;

in a:link

we see dotted underlines in all other links (with classes) as well. Is there a way to only show dotted underlines in links that do not have a class?

DriverDan
07-07-2008, 09:06 PM
Set border-bottom: 0 in all your other "a" classes. You could use selectors but they won't work in IE6.

mealto
07-08-2008, 02:43 AM
Perfect, that works. Thanks.