CSS部分代码解释笔记

  •   2009-07-31/13:16
  • position=定位方式
    padding=内间距
    margin=外间距
    (top=顶边
    right=右边
    bottom=底边
    left=左边)
    background=背景
    background-image=背景图像
    background-repeat=背景图像是否及如何铺排


    font-weight=字体的粗细
    font-family=选择字体
    font-size=字体尺寸

    display=设置是否及如何显示元素
    list-style-type=列表项所使用的预设标记
    list-style=设置列表类型
    text-align=文字的对齐方式
    (left=左边
    right=右边
    center=中间)
    line-height=行高

    position=把元素放置到一个静态的、相对的、绝对的、或固定的位置中
    overflow=设置当元素的内容溢出其区域时发生的事情
    clear=清除浮动
    float=左右浮动

    title=标题
    table=表格
    style=样式
    border=边框
    cellpadding=填充
    cellspacing=间距
    href=链接
    target_blank=新页面打开窗口
    width=宽
    height=高
    span=块
    color=颜色
    align=水平对齐
    valign=垂直对齐
    img src=链接图片
    colspan=合并列
    rowspan=合并行
    class=类

    link=当前
    hover=指上
    active=活动
    visited=访问过

    text-decoration=定义下划线
    (none=无下划线
    underline=文本下有一条线
    overline=文本上有一条线
    line-through=文本中有一条线)


    评论 {{userinfo.comments}}

    {{money}}

    {{question.question}}

    A {{question.A}}
    B {{question.B}}
    C {{question.C}}
    D {{question.D}}
    提交

    驱动号 更多