尝试以多种不同方式将视口代码添加到我的网站,但无法注册我是新手/自学成才,需要一些帮助。不是编码员,为我的摄影制作了自己的网站。谁能看看我做错了什么?www.jeffhenrikson.com 自己调试过,但无法修复,是不是我把事情安排错了?是行或命令禁用它吗?这是我所拥有的...
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon"href="http://jeffhenrikson.com/favicon.ico" />
<title>Jeff Henrikson</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<style type="text/css">
html, body {
font-family: Arial, Helvetica, sans-serif;
color: #000;
font-size: 14px;
height: 768px;
width: 1100px;
position:fixed;
top:0;
bottom:0;
left:0;
right:0;
margin: auto;
}
a:link {
color: #000;
text-decoration: none;
}
a:visited {
color: #000;
text-decoration: none;
}
a:hover {
color: #000;
text-decoration: line-through;
}
a:active {
color: #000;
text-decoration: none;
}
@viewport {
width: device-width ;
zoom: 1.0 ;
}
</style>
<body>
<div style="position: relative; top: 75px; left: 135px;">
<img src="images/01.jpg" width="x" height="575"/></a>
</div>
<div style="position: absolute; top: 276px; left: 50px;">
<a href="38.html">⬤</a>
</div>
<div style="position: absolute; top: 276px; left: 1035px;">
<a href="02.html">⬤</a>
</div>
<div style="position: absolute; top: 15px; left: 17px;">
<a href="index.html">JEFF HENRIKSON</a>
</div>
<div style="position: absolute; top: 15px; left: 982px; width: 55px;">
<a href="all_index.html">view all</a>
</div>
<div style="position: absolute; top: 719px; left: 982px;">
<a href="contact.html">contact</a>
</div>
</div>
</body>
</html>