여기에 할 수있는 간단한 방법이 : http://codepen.io/pageaffairs/pen/mvjxc
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<style media="all">
body, ul, li {margin: 0; padding: 0;}
.wrap {width: 900px; margin: 0 auto; background: #e7e7e7; min-height: 600px;}
.menu {list-style: none; float: right; position: relative;}
.menu li {float: left; margin-left: 20px;}
.menu li:first-child {margin-left: 0;}
.menu li a {text-decoration: none; display: block; line-height: 2em; text-transform: uppercase;}
.menu li a:hover {text-decoration: underline;}
.menu:after {
content: "";
height:0;
width: 9999px;
border-bottom: 1px solid #ccc;
position: absolute;
left: 0;
bottom: 0;
}
</style>
</head>
<body>
<div class="wrap">
<ul class="menu">
<li><a href="">Link 1</a></li>
<li><a href="">Link 2</a></li>
<li><a href="">Link 3</a></li>
<li><a href="">Link 4</a></li>
<li><a href="">Link 5</a></li>
<li><a href="">Link 6</a></li>
</ul>
</div>
</body>
</html>
오 하나님! 랄프 고마워. :))) –
당신을 진심으로 환영합니다. :-) –