我最近创建了这个网站,它在桌面上看起来都很好,在移动设备上也一样,除了段落文本,它不合时宜。
如果您在手机上查看它,您就会明白我的意思。基本上,段落文本在移动设备上不会与上面的图像保持一致,它会缩小到宽度的一半,如何让它与桌面版本保持一致?
http://www.callamsgraphics.co.uk/zarp/index.html
谢谢
最佳答案
尝试在 html 的 heder 部分中使用 meta 标记
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>
<!-- your page title here-->
</title><meta http-equiv="Page-Enter" content="blendTrans(Duration=2.0)" />
<meta name="viewport" content="user-scalable=yes, height=device-height,
initial-scale=0.6" />
<!-- your code here-->
</head>
<body>
<!-- your code here-->
</body>
</html>
关于html - 设置 <p> 标签宽度或让它缩放,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18684130/