2012-03-16 69 views

回答

0

而不是在你的李floatdisplay:inline-block它。就像這樣:

.menu{ 
text-align:center; 
} 
.menu-item { 
    display: inline-block; 
    *display: inline;/* For IE7 */ 
    *zoom:1;/* For IE7 */ 
    vertical-align:top; 
} 
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; 
} 
+0

看到沒工作,至少不在Chrome中 – Evils 2012-03-16 13:39:44