這裏是我的CSS文件:http://brandonholmes.net/scheduleus.css爲什麼我的div的顯示塊
是否有人可以解釋爲什麼「導航」的div和相互重疊和「fixerheader」 DIV即使都被設置爲「顯示:塊'?
提前致謝!
編輯:這是有問題的代碼...
#nav {
border-radius: 5px;
position: absolute;
display: block;
background-color: white;
color: black;
margin-bottom: 10px;
padding: 5px;
}
#fixedheader{
position: fixed;
top: 0px;
left: 0px;
width: 100%;
color: #FFFFFF;
background: #000000;
padding: 0px 3px;
display: block;
}
請在問題中提供您的代碼 – dippas
代碼可以在鏈接的文檔中找到,但當然。 –
歡迎來到StackOverflow。請參閱[如何問](http://stackoverflow.com/questions/how-to-ask)和[完美的問題](http://codeblog.jonskeet.uk/2010/08/29/writing-the - 完美-問題/)。 –