0
所以我想开发一个简单的移动网站。它将关闭QR码到下面链接的页面。问题是当我在我的android手机上查看它时,或者苹果手机增加了很大的宽度。任何建议都会很棒。这里的链接到真人版:http://www.trileafweb.com/promotion/index.html移动开发和宽度
这里的HTML/CSS
促进
<style>
html,body
{
width: 400px;
height: 200px;
}
h1{color:#00a94f;
text-align:center;}
p{
font-weight:bold;
font-size: 14;
text-align:center;
font-family:Arial;}
img{
position:relative;
height:100px;
width:200px;
padding-left:100px;}
#coupon{
padding-top:15px;
position:relative;
border: 3px dashed;
width: 400px;
height:200px;
border-radius:5px;}
</style>
</head>
<body>
<div id="coupon">
<h1>Promotion</h1>
<p>Promotion Texts</p>
<p>Coupon Code: <span style="color:red; font-size:24;">xxx-xxx</span></p>
</div>
</body>
lawl,谢谢你的工作。我会在时间限制^ _ ^时检查你的答案 –