Here is my HTML:
<!DOCTYPE html> <html> <head> <title>Welcome</title> <meta charset='utf-8'> <link href='~/css/styles.css' rel='stylesheet'> <link href='http://fonts.googleapis.com/css?family=Arvo:400,700' rel='stylesheet' type='text/css'> </head> <body> <div id='wrapper'> <div id='header'> <h1>Welcome</h1> </div> <div id='content'> <h2>The new magic number is 80</h2> </div> <div id='footer'> <h4>Daniel </h4> </div> </div> </body> </html>
And here is my CSS:
wrapper, header, content, footer {
display: block;
}
#wrapper{
width:66%;
margin:auto;
}
#header{
background-color:#FFCA00;
font-family: 'Arvo', serif;
font-weight: 700;
font-size: 22px;
color: #A68300;
border-bottom:solid 1px #FFE273;
}
#content{
background-color: #FFD740;
font-size: 16px;
font-family: 'Arvo', serif;
font-weight: 400;
color: #A68300;
margin:12px 0;
float:left;
}
#footer{
background-color:#FFCA00;
font-size: 12px;
font-family: 'Arvo', serif;
font-weight: 400;
color: white;
border-top:solid 1px #FFE273;
}
What is wrong with it? I have validated both files and they seem to be OK.
Thank you!







