I’m starting all over again on the Secret Agent Supply project, and having a nervous breakdown. For some reason I can’t get the background-color property to work anymore. It’s just black text on a white background. To figure out what’s going on, I went back to the beginning with a test HTML:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Secret Agent Supply Inc.</title>
<!-- <link href="./resources/css/reset.css" type="text/css" rel="stylesheet">-->
<link href="./resources/css/style.css" type="text/css" rel="stylesheet">
</head>
<body>
<header>
SECRET AGENT SUPPLY INC.
</header>
</body>
</html>
/* STYLESHEET FOR SecretAgentSupply/index */
html {
font-size: 18px;
}
body {
color: black;
font-family: Helvetica, sans-serif;
}
<!-- ------------- -->
header {
background-color: green;
height: 60px;
}
I know that I’m doing something stupid, but I just can’t see it. Can someone please help?