26. link and text-decoration


#1

Can anyone help..

<!DOCTYPE html>
<html>
	<head>
	<link href="stylesheet.css" type="text/css" rel="stylesheet" />
		<title>Result</title>
	</head>
	<body>
	<h1>keep smiling</h1>
	<p>hye</p>
<img src="https://s-media-cache-ak0.pinimg.com/736x/9b/a2/57/9ba25796112cad616be27e473ae1e149.jpg" />
	
	<a href="www.google.com"> Google </a>
	
	</body>
</html>

my CSS code

h1{
    
 color: #576D94;  
 font-family: Verdana,sans-serif; 
}
p{
  font-size: 18px;  
   color: #4A4943;
   font-family: Garamond,serif;
}
img{
 height: 100px;
 width: 300px;
 border: 1px solid #4682b4;
}

a:link{
 color: #cc0000; 
 text-decoration: none;
 
}

am getting a popup that "oops, try again. Did you remember to set your link's text-decoration to none;? "
Even after i have written the correct code i.e., setting text-decoration to none. plz help me


26-links and text decoration
#2

Try using another browser. Google Chrome tends to have this issue so you should avoid using it when completing any exercises involving text-decoration.


#3

a {
color: #cc0000;
text-decoration: none;
}
put it in this order and it should work ain't got to change browser gangsta.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.