DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> CSS入門知識 >> CSS詳解 >> 網頁制作教程:簡單總結CSS的基礎屬性
網頁制作教程:簡單總結CSS的基礎屬性
編輯:CSS詳解     
一、可設置的CSS屬性包括:字體屬性、文本屬性、顏色及背景屬性、邊框屬性、容器屬性(邊距屬性、填充屬性)、分類屬性、鼠標屬性。

  二、基礎屬性

字體屬性:font-family font-style font-variant font-weight font-size
文本屬性:Word-spacing letter-spacing text-decoration vertical-align text-transform
     text-align text-indent line-height
顏色背景屬性:color background(background-color background-image background-repeat
       background-attachment background-position)
邊框屬性:border(border-top border-right border-bottom border-left)(border-width
     border-style border-color)
容器屬性:margin padding width height float clear
分類屬性:display white-space list-style-type list-style-image list-style-position
     list-style
鼠標屬性:auto crosshair default hand move e-resize ne-resize nw-resize n-resize se-resize
     sw-resize s-resize w-resize text wait help

  三、CSS布局
  CSS盒模型的理解對於CSS布局有很大幫助,每個元素都有一個元素盒。Html布局通常使用div+CSS,將網頁分為很多方塊,每個方塊和整個總體都可以各用一個div容納,然後用CSS對各個div進行布局。常用布局屬性包括:margin padding float clear top right buttom left z-index position。
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved