I have a Kin Twom windows phone.
when i go to iphone template it only shows on half the screen. Like there is a 50% width attribute applied.
It seems that this is the problem:
<meta name="viewport" content="width = <?php echo (int)$MobileJoomla_Device['screenwidth']; ?>, initial-scale = 1.0, user-scalable = no, maximum-scale = 1.0">
If i comment out the
<?php echo (int)$MobileJoomla_Device['screenwidth']; ?>
and replace with 320 it works fine. however i cannot test on a iPhone. only my windows phone.
Any idea why this happens? What does this code mean - i dont understand it.
when i go to iphone template it only shows on half the screen. Like there is a 50% width attribute applied.
It seems that this is the problem:
<meta name="viewport" content="width = <?php echo (int)$MobileJoomla_Device['screenwidth']; ?>, initial-scale = 1.0, user-scalable = no, maximum-scale = 1.0">
If i comment out the
<?php echo (int)$MobileJoomla_Device['screenwidth']; ?>
and replace with 320 it works fine. however i cannot test on a iPhone. only my windows phone.
Any idea why this happens? What does this code mean - i dont understand it.