HTML CSS - 在Windows Phone上显示时字体大小过大 [英] HTML CSS - Font size oversized when shown on windows phone

查看:245
本文介绍了HTML CSS - 在Windows Phone上显示时字体大小过大的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我实际上正在创建一个简报。当我打开电子邮件到outlook,outlook web访问,布局是完全一样的,我建的。
然而,当我在我的Windows Phone 8打开同样的电子邮件时,字体大小不受尊重,电子邮件不再有相同的布局。

I'm actually creating a newsletter. When i open the email into outlook, outlook web access, the layout is exactly the same as the one i built. Yet when I open the same email in my windows phone 8 font size is not respected and the email has no longer the same layout.

有什么建议?
我的标签中有这个css指令。 (-ms-text-size-adjust:none;)

Do you have any kind of suggestion ? I have this css instruction in my tag. (-ms-text-size-adjust: none;)

body {
            background-color: #f9fbf4;
            margin: 0;
            padding: 0;
            -ms-text-size-adjust: none;
        }



我也把这种css放在样式span中, / p>

I also put this kind of css in the style span but it doesnt work

<span style='font-size: 8.5pt; font-family: Georgia,"sans-serif"; color: white; font-size-adjust: none;'>Hello</span>


推荐答案

这可能与视口大小有关装置。您可以尝试设置初始比例,看看是否解决了问题。

This might have something to do with the viewport size on the device. You can try setting the initial scale to see if that resolves the issue.

<meta name="viewport" content="width=device-width; initial-scale=1.0;>

这篇关于HTML CSS - 在Windows Phone上显示时字体大小过大的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆