【发布时间】:2013-02-01 16:14:44
【问题描述】:
在 Chrome 浏览器中放大和缩小我的页面 Link of my page 时,背景会变形,页面看起来像这样 Look of page after zooming in 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>
非常感谢!
【问题讨论】:
-
您的链接发送到“建设中”消息。这里的问题还不清楚。
-
s7.directupload.net/file/d/3168/g6qaizz5_png.htm 它是一个工作链接吗?我找不到它
-
建设中的消息是我此刻的页面。放大 Chrome 时,它会扭曲消息,就像我发布的图像一样。那就是问题所在。需要进行修复,以便在放大和缩小消息时不会失真。
标签: html css image background background-image