<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<style type="text/css">
.style1
{
margin: 0px; padding:0px;
border-bottom:1px solid #ccc; border-top:1px solid #ccc;
background-image:url(imgs/back_navbar.png);
}
.style1 li
{
display:inline-block;
padding:15px 30px 15px 30px;
border-right:1px solid #ddd;
}
.style a
{
color:#666;
text-decoration:none;
}
.style a:hover
{
color:Red;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:BulletedList ID="BulletedList1" runat="server" CssClass="style1" DisplayMode="HyperLink">
<asp:ListItem>我要自学网</asp:ListItem>
<asp:ListItem>百度</asp:ListItem>
<asp:ListItem>淘宝</asp:ListItem>
<asp:ListItem>腾讯</asp:ListItem>
</asp:BulletedList>
</div>
</form>
</body>
</html>
3-9 BulletedList导航条实例
猜你喜欢
转载自blog.csdn.net/weixin_38887666/article/details/80149372
今日推荐
周排行