Why is my CSS media query being ignored?
问题 Im trying to get this piece of CSS working on my ipad but it seems to be ignoring the media query and using the default wrapper CSS instead. is there a way I can stop this from happening? @media only screen and (max-width: 1024px) and (max-height: 768px) { #wrapper { position:absolute; z-index:1; top:41px; width:150px; height:300px; } } #wrapper { position:absolute; z-index:1; top:41px; bottom:0px; left:0; width:100%; height:800px; overflow:auto; } 回答1: Aren't your media query styles being