<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Q22</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="nav">
<ul>
<li id="news"><a href="#">新着情報</a></li>
<li id="inform"><a href="#">ニュース/お知らせ</a></li>
<li id="product"><a href="#">製品情報</a></li>
<li id="shop"><a href="#">店舗案内</a></li>
<li id="company"><a href="#">会社案内</a></li>
</ul>
</div>
</body>
</html>
@charset="UTF-8";
/*reset*/
html,body,#nav {
margin: 0;
padding: 0;
}
body {
font-family:
"Hiragino Kaku Gothic ProN",
Meiryo,
sans-serif;
}
/*layout*/
#nav {
font-size: 16px;
height: 200px
}
li {
list-style: none;
width: 160px;
height: 40px;
border-bottom: 1px dotted skyblue;
}
li#news {
border-top: 1px dotted skyblue;
}
li#news a {
padding: 7px 0 0 7px;
}
a {
text-decoration: none;
font-weight: bold;
color: skyblue;
display: block;
padding: 7px 0 5px 7px;
}
/*action*/
li#product a:hover {
color: orange;
}