I have a navigation bar but the problem is i don't know why dots are coming in my nav bar i tried multiple ways but i didn't find the reason for it i don't want those dots to be appear in my nav bar i have uploaded the image also please CLICKHERE to see it and help me, Thanks in advance. here is my Stylesheet code for my nav bar.級聯樣式表導航欄
ul{
margin:0px;
padding:100px;
padding-left:500px;
}
ul li a{
text-decoration:none;
color:white;
display:block;
}
ul li{
float:left;
width:200px;
height:40px;
background-color:black;
font-size:20px;
line-height:40px;
text-align:center;
border:1px solid aqua;
}
ul li a:hover{
background-color:red;
}
HTML Code:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
<link href="~/Scripts/StyleSheet1.css" rel="stylesheet" />
</head>
<body>
<div style="background-color:black; height:50px;">
<h2 style ="color:white; font-size:40px; font-family:'Agency FB';">Look up on ZipCodes</h2>
</div>
<div>
<ul>
<li><a href="#">Zipcode by City</a></li>
<li><a href="#">City by Zipcode</a></li>
</ul>
</div>
</body>
</html>
可以還顯示或添加HTML代碼? – Grinex