【发布时间】:2013-05-05 20:35:44
【问题描述】:
我在我的一个 iPhone 应用程序的 UIWebView 中显示 HTML 内容。
查看以下 2 张图片:
https://dl.dropboxusercontent.com/u/68104003/Screen%20Shot%202013-05-11%20at%2011.47.02%20AM.png https://dl.dropboxusercontent.com/u/68104003/Screen%20Shot%202013-05-11%20at%2011.47.28%20AM.png
我为这两个标题使用了相同的 HTML 代码,但它在屏幕上显示的字体大小不同。
以下是我使用的 HTML 代码:
<span style="font-size:19px;"><strong><span style="font-family:times new roman,times,serif;">4.6 Lorem Ipsum is simply</span></strong></span></br>
<span style="font-size:19px;"><strong><span style="font-family:times new roman,times,serif;">4.4 Type and Scrambled</span></strong></span></br>
请帮忙。
【问题讨论】: