Chapter 26 problem


#1

what is wrong with this code

html code:

 <!DOCTYPE html>
<html>
	<head>
	<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	<img src="http://bit.ly/NnVbxt"/>
	<h1>something </h1>
	<p>dddddd </p>
	<a href="https://www.google.com"> Google </a>
	
	</body>
</html>

CSS code :

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;
    }

#2

Nothing wrong in CSS. What's the error?


#3

A post was split to a new topic: "Did you set your text-decoration to none?"


#5

Your code Works in Mozilla Firefox, maybe there is some problem in Gooogle Chorme.
Use Other Browser.


#6

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