好了,这个可以用了,海洋图片在背景中显示,但重复4次,填满了整个屏幕。
<style type="text/css">
body {background-image:url('ocean.png');}
</style>
<body>
</body>
然后更改为
body {background-image:url('ocean.png') no-repeat center center;}
现在没有任何背景图片显示出来了。
在我的一个iPhone应用程序中,我在UIWebView中显示HTML内容。
检查以下2张图片:
我对两个标题使用了相同的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>