请看附上的图片,这样我就可以清楚地看到它
我有一个悬停类别,你看到的黑条是我的页脚。问题是,如何在不传递页脚的情况下将所有这些类别包含在我的页面中?
#navMenu, ul, li, li li {
margin: 0;
pading:0;
}
#navMenu{
width:243px;
}
#navMenu ul {
line-height:40px;
}
#navMenu li{
list-style:none;
position:relative;
background:#6EC8F5;
border-radius:3px;
box-shadow: 0 0 3px gray;
text-align:center;
font:bold 20px/40px Arial, Helvetica, sans-serif;
}
#navMenu li li {
list-style:none;
position:relative;
top:13px;
background:#CDD0D1;
border-radius:3px;
border:1px solid gray;
box-shadow: 0 0 3px gray;
}
#navMenu ul li a {
width: 240px;
height:25px;
display:block;
text-decoration:none;
text-align:center;
font: 16px/30px Arial, Helvetica, sans-serif;
color:black;
border:1px solid #eee;
padding:0 0 5px;
}
#navMenu ul ul {
position: absolute;
visibility: hidden;
top:30px;
}
#navMenu ul li:hover ul {
visibility:visible;
}
#navMenu li:hover {
background-color:#6EC8F5;
}
#navMenu ul li a:hover {
background-color:#6EC8F5;
}
#navMenu a:hover {
font-weight:bold;
}
<div id="navMenu">
<ul >
<li class=index_latest>Category
<ul>
<li><a href='../index.php?category=Blogging'>Blogging</a></li>
<li><a href='../index.php?category=General'>General</a></li>
<li><a href='../index.php?category=Arts and Entertainment'>Arts and Entertainment</a></li>
<li><a href='../index.php?category=Automotive'>Automotive</a></li>
<li><a href='../index.php?category=Travel and Leisure'>Travel and Leisure</a></li>
<li><a href='../index.php?category=Womens Interests'>Womens Interests</a></li>
<li><a href='../index.php?category=Writing and Speaking'>Writing and Speaking</a></li>
</ul>
</li></ul>
</div>
更新:我想把我的列表分成两半,这样我就可以并排显示第一和第二半