This is what I currently have: https://jsfiddle.net/xdzadbo0/4/
As you can see the container div does not extend to the top. Searching this, it seems it is important to have margin: 0;
and padding: 0;
on everything. Doing this I get the width to extend to the edge, but I still don't have the top extending all the way up.
How might I do this?
The issue you are experiencing is due to the margin
set on the h1
tag.
See this jsfiddle
All I did was add the following to the CSS:
#container h1 {
margin-top: 0;
}