Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css Windows phone 8上显示电子邮件字体大小的问题_Css_Windows Phone 8_Html Email - Fatal编程技术网

Css Windows phone 8上显示电子邮件字体大小的问题

Css Windows phone 8上显示电子邮件字体大小的问题,css,windows-phone-8,html-email,Css,Windows Phone 8,Html Email,我花了很长时间试图找到以前关于这个问题的问题,但没有结果。 我遇到了一个问题,在WindowsPhone8OS中显示一封电子邮件,在Litmus中测试。 其他站台都可以。 表格中的文本很小。尝试了我所知道的每一种格式,但毫无乐趣。 这可能是我在这里错过的很明显的东西 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transition

我花了很长时间试图找到以前关于这个问题的问题,但没有结果。 我遇到了一个问题,在WindowsPhone8OS中显示一封电子邮件,在Litmus中测试。 其他站台都可以。 表格中的文本很小。尝试了我所知道的每一种格式,但毫无乐趣。 这可能是我在这里错过的很明显的东西

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<font face="Verdana, Geneva, sans-serif" color="#777777" size="2" style="line-height: 1.3em; font-size: 12px">
<b>test<br />
lorem ipsum</b> delores sit annum</font>
<div style="clear: both; height:1px;font-size:1px">&nbsp;</div>
<table border="0" cellspacing="0" cellpadding="0" style="margin: 0px 0px 0px 0px; float:left" >
<tr>
  <td style="padding-right: 8px; padding-top: 4px" NOWRAP>
    <font color="#18833f" style="line-height: 1.3em; font-size: 12px" face="Verdana, Geneva, sans-serif">table text is tiny<br />
    gdfggdfg</font></td>
  <td style="padding-right: 8px; padding-top:4px" NOWRAP>
    <font color="#999999" style="line-height: 1.3em; font-size: 12px" face="Verdana, Geneva, sans-serif">dgdfgdgfdg<span style="display: none">&nbsp;</span> &nbsp;<br />
    gfdgfgdgfdg<font color="#999999">&nbsp;&nbsp;</font></font></td>
  </tr>
</table>
<div style="clear: both; height:1px;font-size:1px">&nbsp;</div>
<table border="0" cellspacing="0" cellpadding="0" style="margin: 0px 0px 0px 0px" >
<tr>
  <td NOWRAP>
  <p style="display: block"><font color="#999999" face="Verdana, Geneva, sans-serif" size="2" style="line-height: 1.3em; font-size: 12px">
  <font color="#18833f"><b>fdgfdgfggdfg</b></font>&nbsp;dfg dfgd fg dfg, U.K. </font></p></td>
 </tr>
</table>
<hr align="left" width="100%" COLOR="#999999" size="1" NOSHADE style="display: block; height: 1px;border: none;margin: .2em 0; padding: 0;background-color:#999999;"/>
<p style="margin-top: 0px">
  <font color="#999999" size="1" style="font-size: 9px; line-height: 1em" face="Verdana, Geneva, sans-serif"> fgdfgfgfdg dfg df dfg dfgdf g </font></p>
<style>body, td, p {font-size: 12px; margin: 0px; padding: 0px}</style>
</body>


无标题文件
测试
紫茎泽兰 表格文本很小
gdfggdfg dgdfgdgfdg
GFDGFGFDG

FDGFDGFGDFG DFG DFGD FG DFG,英国< /P>


FGDFGFDG dfg dfg dfg dfg dfg

正文,td,p{字体大小:12px;边距:0px;填充:0px}
这肯定不明显。无论出于何种原因,Windows Phone在表中的字体大小都与'96'类似,在
size
属性中。在您的第一个NOWRAP td中它看起来相同的原因是,您在另一个字体标记中嵌套了一个带有
size=“2”
,导致它仍然是
size=“1”

粗略指南(属性最多只能为7):
size=“1”
=10-12px
size=“2”
=13-16px
size=“3”
=17-20px