-3
我試圖把標題,但沒有成功的導航欄。我在這個網站上搜索過,但我找不到答案。標題上的導航欄?
EDITED:添加標記html。
<!DOCTYPE html>
<html lang="en">
<head>
<title>"New York City"</title>
<meta charset="uft-8">
<style>
@font-face {
font-family: Breamcatcher; src: url('Breamcatcher.ttf');
}
body {
background: url("New York City Night.jpg");
background-repeat: no-repeat;
background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
-webkit-background-size: cover;
}
#header {
margin: auto;
background-color: black;
/*Opacity start*/
opacity: 0.8;
filter: alpha(opacity=80); /* For IE8 and eariler */
/*Opacity end*/
font-family: Breamcatcher, san-serif;
font-size: 500%;
text-align: center;
top: 0;
left: 0;
width: 1000px;
height: 300px;
padding: 0;
}
span.header2 {
margin: auto;
color: orange;
font-size: 185%;
}
</style>
</head>
<body>
<div id="header"><span class="header2"> New York City </span></div>
</body>
</html>
我如何把它的頭?另外我如何添加徽標?謝謝!
有任何需要發佈的HTML嗎? – starvator 2014-11-04 20:06:37
也分享您的標記HTML – DaniP 2014-11-04 20:06:45
指向您的網站的鏈接(如果已發佈) – 2014-11-04 20:11:14