Issues with link text-decoration: none error


#1


so I've read all the other posts regarding this error and still haven't figured out what I did wrong.

Links and decoration


did you remember to set your link's text-decoration to non;?


<!DOCTYPE html>
<html>
	<head>
	    <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	    <h1>
	        yo! test test!
	    </h1>
	    <img src="http://static4.fjcdn.com/thumbnails/comments/Sup+dude+_50d991245445161486fe3ec40227a170.jpg"/>
	    <p>
	        this is what I'm testing!! also 
	    </p>
	    <a href="wowwiki.wikia.com/wiki/Arthas_Menethil">check this out!</a>
	    
	    </body>
</html>

h1 {
    font-family:Verdana, sans-serif;
    color:#576D94;
}

img {
    height:100px;
    width:300px;
    border:1px solid #4682b4;

p {
    font-family:Garamond, serif;
    font-size:18px;
    color:#4a4943;
}

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


#2

Provide a space between
text-decoration: none;

practically this shoudnt matter, it's just here in this exercise....


#3

tried that and it didn't make any difference


#4

Try this code

<!DOCTYPE html>
<html>
	<head>
		<title>Result</title>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		
	</head>
	<body>
	<h1> This is first h1</h1>
	<h1> This is second h1</h1>
	<p> This is first para</p>
	<p> This is second para</p>
	<img src="http://static4.fjcdn.com/thumbnails/comments/Sup+dude+_50d991245445161486fe3ec40227a170.jpg" /> 
	
<a href="http://www.facebook.com">Facebook</a>




	</body>
</html>

h1 {
    font-family: Verdana, sans-serif;
    color: #576D94;
}

p {
    font-size: 18px;
    color: #4a4943;
    font-family: Garamond, serif;
}

img {
    height: 100px;
    width: 300px;
    border: 1px solid #4682b4;
}

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

#5

thanks that worked! can you tell me what I did wrong though? kinda confused.


#6

everything is ok....i guess the problem was with that space... :disappointed_relieved:


#7

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