Q
分區定位氾濫菜單
-1
A
回答
0
你可能想要刪除固定在你的頭和.menu
類的位置。
.menu {
background: none repeat scroll 0 0 #e6e6e6;
margin-left: auto;
margin-right: auto;
//position: fixed; ////remove this////
top: 85px;
z-index: 99;
}
Header {
border-bottom: 0 solid #eee;
overflow: auto;
//position: fixed; ////and remove this////
width: 100%;
}
最終代碼:
.menu {
background: none repeat scroll 0 0 #e6e6e6;
margin-left: auto;
margin-right: auto;
top: 85px;
z-index: 99;
}
Header {
border-bottom: 0 solid #eee;
overflow: auto;
width: 100%;
}
+0
這是輝煌謝謝!儘管如此,我該如何定位股票多一點? – 2014-10-06 19:55:04
+0
例如,您可以嘗試給.menu一個50px的「margin-bottom」。 – 2014-10-06 19:56:12
+0
令人驚歎!你的傳奇人物謝謝你! :) – 2014-10-06 19:58:35
相關問題
- 1. 氾濫vs Javascript
- 2. NodeJS socket.io氾濫
- 3. 防止WCF氾濫
- 4. Apache james STMP氾濫
- 5. Iptables防止氾濫
- 6. 註銷異常氾濫elmah
- 7. Shiro會話創建氾濫
- 8. 我濫用C#泛型嗎?
- 9. HTML菜單定位
- 10. CSS菜單定位
- 11. Html分區定位
- 12. CSS菜單中心定位
- 13. 下拉菜單定位
- 14. css定位下拉菜單
- 15. 定位我的css菜單
- 16. 圖像和菜單定位
- 17. CSS中的定位菜單
- 18. 菜單項定位問題
- 19. 定位上下文菜單
- 20. 定位下拉菜單
- 21. 下拉菜單的定位
- 22. 定位下拉菜單
- 23. 在CSS中定位菜單
- 24. 移動菜單定位
- 25. 動態定位分區
- 26. 紅寶石遞歸氾濫 - 它
- 27. 如何防止網站氾濫?
- 28. JavaScript反氾濫垃圾郵件保護?
- 29. 簡單的方法來防止登錄請求氾濫?
- 30. 菜單顯示區塊不正確的定位
你真的想用'現在的位置是一個菜單:fixed',還有其他的方式來使這個菜單在這個位置 – 2014-10-06 19:53:49