내 새 포트폴리오를 코딩 중이며 잘못된 위치에 내비게이션이 있으며 이유를 파악할 수 없습니다.html/css에서 잘못 배치 된 내비게이션
http://i26.tinypic.com/25psi10.png
나는 텍스트가 측면에있는 라인과 인라인되고 싶어하지만, 대신이 오른쪽 아래로 이동 그리고 그것은이 일을 왜 내가 알아낼 수 없습니다.
이 관련 코드입니다 : 당신이 여백 오른쪽 감소 할 때
body {
padding: 0px;
margin: 0px;
background:url('images/Background.png');
font-family: century gothic;
}
#nav a {
text-decoration: none;
color: white;
}
#container {
margin: 0 auto;
width: 960px;
}
#logo {
background:url('images/Logo.png');
height: 340px;
width: 524px;
float: left;
margin-left: 0px; <!--check-->
}
#nav {
background:url('images/Nav_Container.png');
width: 427px;
height: 33px;
float: right;
margin-top: 100px;
padding: 0px;
}
#main_nav li {
list-style: none;
display: inline;
font: 18px century gothic, sans-serif;
color: white;
margin-right: 18px;
padding: 0px;
}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link href="styles.css" rel="stylesheet" type="text/css" />
<title>MozazDesign Portfolio</title>
</head>
<body>
<div id="container">
<div id="header">
<div id="logo">
</div><!--end logo-->
<div id="nav">
<ul id="main_nav">
<li><a href="#">home</a></li>
<li><a href="#">about me</a></li>
<li><a href="#">gallery</a></li>
<li><a href="#">blog</a></li>
<li><a href="#">contact</a></li>
</ul><!--end main nav-->
</div><!--end nav-->
</div><!--end header-->
</div>
</body>
</html>
페이지에 링크를 제공 할 수 있습니까? –
http://www.mozazdesign.co.cc/ – MozazDesign