0

我确定我已经在其他帖子中阅读了我的问题的答案:但作为一个完整的 CSS 初学者,我不知道我需要在哪里实际插入解决问题所需的代码。已经尝试了类似查询的回复中列出的所有各种选项,但我确信我必须将代码放在错误的位置,因为问题仍然存在。

问题:背景图像在 iPhone 或 iPad 中无法正确显示,在右侧留下白色条纹。请有人发布回复,显示我现在的代码以及它应该如何处理,如果可能的话,使用媒体查询解决方案(注意我已经粘贴了现有代码,没有各种尝试更改它的示例)?

www.shooterspattaya.com

非常感谢一个非常沮丧的新手!

<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Shooters Pattaya Home Page</title>
<style type="text/css">
body {
background-image: url(images/back.png);
background-position: center top;
background-repeat: no-repeat;
}
</style>
<meta
content="Shooters Pattaya Soi 7 Guesthouse Sports Coyote Bar Home Page"
name="description">
</head>
4

1 回答 1

1

在你的CSS中添加这个:

html {
    min-width: 1420px;
}
于 2013-08-03T08:12:47.243 回答