I have the following CSS snippet in my site...
The span class renders fine on brower / ipad but the @media does not alter the font size on the iphone.
Please can someone let me know what I am doing wrong...
span.message
{display:table-column;
width:589px; min-height: 65px;
padding: 10px 10px 10px 10px;
float:right;
vertical-align: top;
border-top-width : 0;
background : white;
font : normal 70% sans-serif; vertical-align: top; color: #000000;
border-radius : 0em 1em 1em 0em;}
@media screen and (max-width:640px){
span.message {font-size:40%;}
}
Thanks to gaynorvader...
@media screen and (max-device-width: 480px){
body{
-webkit-text-size-adjust: none;
}
}
The above @media solves the font-resize issue. (provided you type it correctly).