smile's profileROSE SOUL ◎ 玫瑰的故事PhotosBlogListsMore Tools Help

Blog


    CSS 属性大集合

    background
     background-color
     background-image
     background-position
     background-repeat
     border
     border-bottom
     border-bottom-color
     border-bottom-style
     border-bottom-width
     border-collapse
     border-color
     border-left
     border-left-color
     border-left-style
     border-left-width
     border-right
     border-right-color
     border-right-style
     border-right-width
     border-style
     border-top
     border-top-color
     border-top-style
     border-top-width
     border-width
     bottom
     clear
     color
     cursor
     display
     float
     font
     font-family
     font-size
     font-weight
     height
     left
     letter-spacing
     line-height
     list-style
     list-style-image
     list-style-position
     list-style-type
     margin
     margin-bottom
     margin-left
     margin-right
     margin-top
     max-height
     max-width
     min-height
     min-width
     overflow
     padding
     padding-bottom
     padding-left
     padding-right
     padding-top
     page
     page-break-after
     page-break-before
     position
     right
     text-align
     text-decoration
     text-indent
     top
     vertical-align
     visibility
     width
     word-spacing
     z-index
     azimuth
     background-attachment
     border-spacing
     caption-side
     clip
     content
     counter-increment
     counter-reset
     cue
     cue-after
     cue-before
     direction
     elevation
     empty-cells
     font-size-adjust
     font-stretch
     font-style
     font-variant
     marker-offset
     marks
     orphans
     outline
     outline-color
     outline-style
     outline-width
     page-break-inside
     pause
     pause-after
     pause-before
     pitch
     pitch-range
     play-during
     quotes
     richness
     size
     speak
     speak-header
     speak-numeral
     speak-punctuation
     speech-rate
     stress
     table-layout
     text-shadow
     text-transform
     unicode-bidi
     voice-family
     volume
     white-space
     widows
    18/12/2006

    CSS样式命名规则

    1.样式命名
    外 套:  wrap
    主导航:  mainnav
    子导航:  subnav
    页 脚:  footet
    整个页面: content
    页 眉:  header
    页 脚:  footer
    商 标:  label
    标 题:  title
    主导航:  mainbav(globalnav)
    顶导航:  topnav
    边导航:  sidebar
    左导航:  leftsidebar
    右导航:  rightsidebar
    旗 志:  logo
    标 语:  banner
    菜单内容1: menu1 content
    菜单容量: menu container
    子菜单:  submenu
    边导航图标:sidebarIcon
    注释:   note
    面包屑:  breadcrumb(即页面所处位置导航提示)
    容器:   container
    内容:   content
    搜索:   search
    登陆:   Login
    功能区:  shop(如购物车,收银台)
    当前的   current

    2.另外在编辑样式表时可用的注释可这样写:
    <-- Footer -->
    内容区
    <-- End Footer -->

    3.样式文件命名
    主要的 master.css
    布局,版面 layout.css
    专栏 columns.css
    文字 font.css
    打印样式 print.css
    主题 themes.css