2014-07-19 38 views
-1

爲什麼導航欄在不同的頁面上表現不同?他們有相同的CSS規則。爲什麼導航CSS在不同的頁面上表現不同?

http://www.columbia.edu/~mmp2181/Megha/wwm.html(導航欄粘在上面)http://www.columbia.edu/~mmp2181/Megha/

注(頁面頂部和頭部之間的間隙):我專門詢問其對谷歌瀏覽器

> header nav, contactheader nav, wwmheader nav {width: 100%; height: auto; float: left; margin:   >0; padding:15px 0 20px; background: #FDFDFD; border-top: 1px solid #f6f6f6; position: fixed; z->index: 7; 
行爲

box-shadow:0 1px 2px 0 rgba(0,0,0,.3); -moz-box-shadow:0 1px 2px 0 rgba(0,0,0,.3); -webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.3); }

+0

在與頁面的頁面,你在你的代碼的圖像,口主體的標記之後,(http://www.columbia.edu/images/photos/meghahorizo​​ntal2cropb.jpeg)那是404沒找到。 – j08691

回答

1

這是一個容易;-)有你<body>標籤的頂部img躲藏。

<img src="/images/photos/meghahorizontal2cropb.jpeg" height="0" width="0">

只需卸下小傢伙,一切都不會有事的。

乾杯 祗園