知識社群登入
選單設計 (背景、框線、位置)
by 鍾玉芳, 2011-05-05 11:30, 人氣(2380)
透過 #tool li 設定屬性,例如:
#tool li {
    background:#ccc;           /* 設定選單區塊的顏色 */
    border:1px solid #7B7B7B;  /* 四邊框線的樣式與顏色 */
    margin-left:1px;                    /* 設定選單區塊之間的距離 */
    padding:6px 12px;                  /* 設定文字距離選單區塊邊框的位置: 上下 6px、左右 12px */
}