@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
.device-width{
position:relative;
width:1000px;
margin:0 auto;
}
.header{
position:absolute;
width:1000px;
}
}