I am attempting to make a simple colored banner using CSS at the top of a page.
What am I doing wrong that is causing the banner not to completely fill the page? Is their a line of code I can add that tells css to fill the page completely from left to right for a given section?
my css is:
header{
padding: 10px;
text-align: center;
background: darkblue;
letter-spacing: 2px;
font-size: 36px;
}
my HTML is:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="blog.css">
</head>
<Header>
<H1 class="font-effect-fire">My Site</H1>
<p> A Website for me, about me</p>