首页代码:
宏大印刷#menu/*整体菜单栏*/{
width:100%;
height:40px;
background-color:#272727;
float:left;
}
a:link{
font-family: "黑体";
font-size:18px;
color:white;
text-decoration: none;
}
a:hover{
color:#eedde7;
}
a:visited{
color:white;
}
#menu ul/*设置表格格式*/{
padding:0;
list-style:none;
margin:0 0 0 250px;
}
li/*每个菜单具体样式*/{
width:150px;
line-height:40px;
text-align: left;
float:left;
}
子网页代码:
包装印刷#menu/*整体菜单栏*/{
width:100%;
height:40px;
background-color:#272727;
float:left;
}
a:link{
font-family: "黑体";
font-size:18px;
color:white;
text-decoration: none;
}
a:hover{
color:#eedde7;
}
a:visited{
color:white;
}
#menu ul/*设置表格格式*/{
padding:0;
list-style:none;
margin:0 0 0 250px;
}
li/*每个菜单具体样式*/{
width:150px;
line-height:40px;
text-align: left;
float:left;
}