등록 버튼과 로그인 버튼이있는 navbar (톱 바처럼)를 만들었고 전체 모니터를 채우는 데 약간의 문제가 있습니다. 스크린의 끝 부분에 닿기 직전에 멈 춥니 다. 모든 수정 사항? http://jsfiddle.net/Karmatix/ngfrzuas/
내 코드를 보려면 여기를 클릭하십시오.화면 끝까지 TopBar 채우기
HTML
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>League of Legion</title>
<link rel="stylesheet" type="text/css" href="page.css" />
</head>
<body>
<div id="top-background">
<div id="wrapper">
<!-- Everything in the top Nav -->
<div id="Register-Text">
<ul>
<li><p>Don't have an account?</p> <a href="#">Register</a></li>
<li><a href="#">Login</a></li>
</ul>
</div>
<!-- End of everything in the top Nav -->
</div>
</div>
</body>
</html>
CSS
#top-background {
background-color: #000000;
margin-top: -9px;
position: relative;
}
#wrapper {
background-color: #000000f;
max-width: 1100px;
min-width: 720px;
margin-left: auto;
margin-right: auto;
margin-top: -16px;
}
/*Beginning of top Nav styling */
#Register-Text {
overflow: auto;
}
#Register-Text ul li {
color: white;
display: inline;
list-style-type: none;
float: right;
padding-left: 20px;
margin-bottom: 10px;
}
#Register-Text ul li p {
display: inline;
color: #999;
}
#Register-Text ul li a {
color: white;
text-decoration: none;
}
#Register-Text ul li a:hover {
color: #93C;
}
/* End of top Nav Styling */
재설정 스타일 시트가 있습니까? http://meyerweb.com/eric/tools/css/reset/ – scniro