2

放大和缩小我的页面时我的页面在 Chrome 浏览器中的链接背景被扭曲,页面看起来像这样放大 Chrome 后的页面外观。可以在代码中进行哪些更改以修复它以在不扭曲背景图形的情况下放大 Chrome 浏览器?

这是我的代码:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Page Under Construction</title>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">

<style type="text/css">

body {
background:#d7df29 url('1.jpg') center center no-repeat;
width: 100%;
height:  100%;
}

html, body {
width: 100%;
height: 100%;
    }


</style>

</head>

<body>

</body>

</html>

非常感谢你!

4

1 回答 1

0

这条线说,我们不能帮助你...

background:#d7df29 url('1.jpg') center center no-repeat;

我刚刚读到你的评论,你有一张图片,所以它会随着放大/缩小而扭曲......最好使用 CSS 来避免这种扭曲......

于 2013-02-16T22:44:05.723 回答