2013-02-16 92 views
2

在Chrome瀏覽器中放大和縮小我的頁面Link of my page時,背景變形,頁面看起來像這樣Look of page after zooming in Chrome。 代碼中可以更改哪些內容以修正它,以便放大Chrome瀏覽器而不會扭曲背景圖形?HTML CSS放大/縮小問題

這是我的代碼:

<!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> 

非常感謝您!

+0

你的鏈接發送到「正在建設中」的消息。這裏的問題並不清楚。 – Roy 2013-02-16 22:41:55

+0

http://s7.directupload.net/file/d/3168/g6qaizz5_png.htm它是一個工作鏈接?我無法找到它 – 2013-02-16 22:43:06

+0

正在建設中的消息是我的頁面。在放大Chrome時,它會扭曲郵件,就像我發佈的圖片一樣。那就是問題所在。需要進行修正,以便在放大和縮小信息時不會失真。 – 2013-02-16 22:45:06

回答

0

該行稱,我們不能幫助你的呢...

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

我剛剛看了你對此有何評論,你有一個形象,所以它會與放大/縮小被distoring ...最好去CSS避免這種扭曲...

+0

你能告訴我怎麼做嗎?因爲我不知道,我不是很先進的HTML CSS – 2013-02-16 22:50:04

+0

http://www.land-of-web.com/underconstructionpage/index.html – 2013-02-16 22:51:59

+0

嘗試谷歌和搜索「CSS創建正在建設中的頁面」 – 2013-02-16 22:53:27