i don’t want it to fit the whole screen
What?
Now I’m really confused. The footer is set to be 100% wide…did you not do that?
However, perhaps you want this
media="screen, projection, print"
footer {
/* float: left; */ /* remove this */
background: #fff;
width: 100%;
padding: 23px 0;
-webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2);
-moz-box-shadow: 0 0 2px rgba(0,0,0,0.2);
box-shadow: 0 0 2px rgba(0,0,0,0.2);
max-width: 1140px; /* add this - your chosen width */
margin: 0 auto; /* center the footer */
}