Hello i want my website to be responsive
i have made media querries for several devices. There is one thing i cant understand on my mobile phone that says analysis 720X1280 and its 5.0 inch sreeen phone
here are the media querries.
<style type="text/css">
.box
{
width:80%
}
.block
{
padding-bottom:3%;
}
.one {
background: rgba(66, 132, 243, 0.6);
border-top:thick solid #4284f3
}
.two {
background: rgba(233, 67, 53, 0.6);
border-top:thick solid #e94335
}
.four {
background: rgba(51, 168, 2, 0.6);
border-top:thick solid #33a802
}
.three {
background: rgba(250, 187, 4, 0.6);
border-top:thick solid #fabb04;
}
#logo-rovespier { display: none; }
#logo-rs { display: block; }
@media only screen and (min-device-width: 481px) and (max-device-width: 768px) {
#banner { width:100%; }
#banner img { max-width:100px; max-height:100px; }
/*#main { width:740px; }*/
#main-content { width:100%;padding:0px;}
/*#main { width:740px; }*/
.block {
float: left;
display:inline;
}
.one {
width:50%;height:30em;
}
.two {
width:50%;height:30em;
}
.four {
width:50%;height:30em;
}
.three {
width:50%;height:30em;
}
}
@media only screen and (min-device-width: 321px) and (max-device-width: 480px) {
#banner { width:100%; }
#banner img { max-width:100px; max-height:100px; }
/*#main { width:740px; }*/
#main-content { width:100%;padding:0px;}
/*#main { width:740px; }*/
.block {
display:block;
}
.one {
width:100%;height:30em;
}
.two {
width:100%;height:30em;
}
.four {
width:100%;height:30em;
}
.three {
width:100%;height:30em;
}
}
@media only screen and (max-device-width: 320px) {
#banner { width:100%; }
#banner img { max-width:100px; max-height:100px; }
/*#main { width:740px; }*/
#main-content { width:100%;padding:0px;}
.block {
float: left;
display:block;
}
.one {
width:100%;height:30em;
}
.two {
width:100%;height:30em;
}
.four {
width:100%;height:30em;
}
.three {
width:100%;height:30em;
}
}
@media only screen and (min-device-width:960px){
#banner { width:100%; }
#banner img { max-width:130px; max-height:50px; }
#logo-rovespier { display: block; }
#logo-rs { display: none; }
/*#main { width:740px; }*/
#main-content { width:100%;padding:0px;}
.block {
float: left;
display:inline;
}
.one {
width:25%;height:34em;
}
.two {
width:25%;height:34em;
}
.four {
width:25%;height:34em;
}
.three {
width:25%;height:34em;
}
/* styles for browsers larger than 960px; */
}
@media only screen and (min-device-width:1440px){
#banner { width:100%; }
#banner img { max-width:740px; max-height:222px; }
#logo-rovespier { display: block; }
#logo-rs { display: none; }
/*#main { width:740px; }*/
#main-content { width:100%;padding:0px;}
.block {
float: left;
display:inline;
}
.one {
width:25%;height:38em;
}
.two {
width:25%;height:38em;
}
.four {
width:25%;height:38em;
}
.three {
width:25%;height:38em;
}
/* styles for browsers larger than 1440px; */
}
@media only screen and (min-device-width:2000px){
#banner { width:100%; }
#banner img { max-width:340px; max-height:135px; }
#logo-rovespier { display: block; }
#logo-rs { display: none; }
/*#main { width:740px; }*/
#main-content { width:100%;padding:0px;}
.block {
float: left;
display:inline;
}
.one {
width:25%;height:40em;
}
.two {
width:25%;height:40em;
}
.four {
width:25%;height:40em;
}
.three {
width:25%;height:40em;
}
/* for sumo sized (mac) screens */
}
@media only screen and (max-device-width:480px){
#banner { width:100%; }
#banner img { max-width:130px; max-height:50px; }
#main-content { width:100%;padding:0px;}
#logo-rovespier { display: none; }
#logo-rs { display: block; }
/*#main { width:740px; }*/
.block {
float: left;
display:block
}
.one {
width:100%;height:34em;
}
.two {
width:100%;height:34em;
}
.four {
width:100%;height:34em;
}
.three {
width:100%;height:34em;
}
/* styles for mobile browsers smaller than 480px; (iPhone) */
}
@media only screen and (max-device-width:768px){
#banner { width:100%; }
#banner img { max-width:130px; max-height:50px; }
#main-content { width:100%;padding:0px;}
#logo-rovespier { display: none; }
#logo-rs { display: block; }
/*#main { width:740px; }*/
.block {
display:block;
}
.one {
width:100%;height:34em;
}
.two {
width:100%;height:34em;
}
.four {
width:100%;height:34em;
}
.three {
width:100%;height:34em;
}
/* default iPad screens */
}
/* different techniques for iPad screening */
@media only screen and (max-device-width: 1024px) and (orientation:portrait) {
#banner { width:100%; }
#banner img { max-width:130px; max-height:50px; }#main-content { width:100%;padding:0px;}
.form-inline input
{
display:inline-block
}
/*#main { width:740px; }*/
.block {
display:block;
float:left
}
.one {
width:50%;height:34em;
}
.two {
width:50%;height:34em;
}
.four {
width:50%;height:34em;
}
.three {
width:50%;height:34em;
}
/* For portrait layouts only */
}
@media only screen and (device-width: 1024px) and (orientation:landscape) {
#banner { width:100%; }
#banner img { max-width:130px; max-height:50px; }
#logo-rovespier { display: block; }
#logo-rs { display: none; }
/*#main { width:740px; }*/
.block {
display:inline;
}
.one {
width:25%;height:34em;
}
.two {
width:25%;height:34em;
}
.four {
width:25%;height:34em;
}
.three {
width:25%;height:34em;
}
/* For landscape layouts only */
}
</style>
Shouldn't my websitee appear like in @media only screen and (min-device-width: 481px) and (max-device-width: 768px) ?
Instead it shows like in @media only screen and (device-width: 1024px) and (orientation:landscape)