2011-06-27 20 views

回答

1

該頁面確實使用了一些JS技巧,其<nav>元素,但它使用position: fixed修復了邊欄的位置,即使用CSS而不是JavaScript。下面是相關的樣式聲明(意見礦):

nav { 
    position: fixed; // fix position 
    margin-left: 750px; // add 750 px of room to the left 
    top: 0;    // set 0px from top of page 
} 
相關問題