Quote:
Originally Posted by Ripplinger
It's getting the underscore not from the style text but from the a in <a href...>. You could do it also adding a { text-decoration:none } to your stylesheet.css file as well and it will work (don't put the usual period before the a if you add it to your stylesheet, it won't work).
|
You gotta do what works for you, but you
should be able to assign the decoration attribute to a css class that's assigned to the different <a> tags. Your approach certainly makes sense if you don't ever want any of your links to be underlined, but it's possible to do it with classes rather than elements.
I think a big part of the problem here is that there's sooo many inherited attributes in this case. The <a> tags alone have two distinct classes assigned (though I can't for the life me imagine why that would be necessary). Then there's the <span>'s class, the <p>'s class, and even a few link attributes inherited from <body> tag (not to mention any css that may be assigned to the <body>'s class). There's just too much going on there. And that's what we can
see. Is there any overlap between the two css files? Do the css files already have any attributes directly assigned to html elements in
addition to the various class definitions?