jiri novak

I'm not HTML guru and this really drives me crazy. Basically what I want is to have links not underlined with specific color on my page. Since there are many links, I wanted to use SPAN CLASS.

This works great in FrontPage, it works great even on "blank HTML page" in sharepoint, but it does not work when I have use it in "WEB PART PAGE" in CONTENT EDITOR WEB PART.

Funny part is that the color works, but it's always underlined. I cannot get rid of the underlined part.

Any idea why this works on blank page and works only partially as web page part

thanks

jiri

Code Snippet

<style type="text/css">

.class1 a:link {color: green; text-decoration:none; }
.class1 a:visited {color: green; text-decoration:none; }
.class1 a:active {color: green; text-decoration:none; }
.class1 a:hover {color: green; text-decoration:none; }

</style>


<br>
<span class="class1">
<a href="http://www.yahoo.com">YAHOO</a>
</span>
<br>