primary-menuarea灰框 設定成 position: relative;是重要的關鍵技術, 提供 #navbar 新的定位, #navbar位置計算 , 會以上一代元素(primary-menuarea)的邊緣 計算起, 而不是以瀏覽器視窗開始計算,以後會詳細討論這種 繼承關係
In the example above, we let the li elements {#navbar ul li} float to the left. The li elements will be displayed as inline elements . This forces the list to be on one line. The ul element has a width of 760px and each hyperlink hover area control in {#navbar ul li a}
在瀏覽器存取網頁 檔案/另存新檔
存成: 網頁,完整 htm html


在Dreamweaver按下 分割 就可看到程式碼
留意/*.....*/和‹!-- -- ›的註解