Question : CSS iPhone Display Issue

Hi, I've got this problem with displaying font size in landscape.
when I use the below and then view it on the iphone, the font is much larger.


<div>
      <span>
    ssss
    </span>
      <span>
    ssss
    </span>
</div>



thought when I use this code, the font is the normal size.

<div>
    <span>
        ssss
    </span>
</div>

it seems that if there are 2 elements, it grows the font size, is there anyway of keeping the font same size?

Answer : CSS iPhone Display Issue

1:
2:
3:
html {
    -webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
}
Random Solutions  
 
programming4us programming4us