答案 0 :(得分:1)
试试这个:style.css第567行
#access ul {
font-size: 18px;
list-style: none outside none;
margin: 0 0 0 -0.8125em;
padding-left: 0;
text-align: center;
}
style.css第573行
#access li {
display: inline-block;
*display: inline-block; /* css hack to prevent from IE issues */
position: relative;
}
答案 1 :(得分:0)
而不是{LI}中的float
给予display:inline-block
。像这样:
.menu{
text-align:center;
}
.menu-item {
display: inline-block;
*display: inline;/* For IE7 */
*zoom:1;/* For IE7 */
vertical-align:top;
}