CSSNoob7
02-18-2012, 06:28 PM
Hi,
I've got the following media queries:
@media all and (min-width: 800px) {
#states{width: 800px; margin:0 auto;}
#states1{float: left; align: center;}
#states2{float: left; align: center;}
#states3{float: left; align: center;}
#states4{float: left; align: center;}
#states5{float: left; align: center;}
#little-screen{display: none;}
#small-line-break{display: none;}
}
@media all and (max-width: 800px) {
#ImageMap_1_1163747142 {display: none;}
#big-screen{display: none;}
}
When on the iPhone I want the max-width query to take effect. However, the min-width query does instead! Help!
I've got the following media queries:
@media all and (min-width: 800px) {
#states{width: 800px; margin:0 auto;}
#states1{float: left; align: center;}
#states2{float: left; align: center;}
#states3{float: left; align: center;}
#states4{float: left; align: center;}
#states5{float: left; align: center;}
#little-screen{display: none;}
#small-line-break{display: none;}
}
@media all and (max-width: 800px) {
#ImageMap_1_1163747142 {display: none;}
#big-screen{display: none;}
}
When on the iPhone I want the max-width query to take effect. However, the min-width query does instead! Help!