Gossamer Forum
Home : General : Internet Technologies :

CSS in NN and Opera

Quote Reply
CSS in NN and Opera
Could anyone tell me what's wrong with the following? Because it does not work for NN nor Opera yet it does for IE.

--IN HEADER--
<link rel="stylesheet" type="text/css" href="default_style.css" />

--IN STYLESHEET--
h3.regtext, a.regtext {
font-family: Verdana;
font-size: 12;
font-weight: normal;
color: #000000;
text-decoration: none};

a.regtext:link, a.regtext:visited, a.regtext:active {
font-family: Verdana;
font-size: 12;
font-weight: normal;
color: #FFFF00;
text-decoration: none};

a.regtext:hover {
font-family: Verdana;
font-size: 12;
font-weight: normal;
color: #FFFF00;
text-decoration: underline};

--IN BODY--
<h3 class="regtext">
Please click <a href="http://somewhere.htm" target="none" class="regtext">here</a> to go to our new location.
</h3>
Quote Reply
Re: [JoFrRi] CSS in NN and Opera In reply to
Tested with Opera 7.01


Remove ;'s at the end.


h3.regtext, a.regtext {
font-family: Verdana;
font-size: 12;
font-weight: normal;
color: #000000;
text-decoration: none};

a.regtext:link, a.regtext:visited, a.regtext:active {
font-family: Verdana;
font-size: 12;
font-weight: normal;
color: #FFFF00;
text-decoration: none};

a.regtext:hover {
font-family: Verdana;
font-size: 12;
font-weight: normal;
color: #FFFF00;
text-decoration: underline};