当前位置: css > CSS框架 >

Blueprint CSS framework 分析(2)

时间:2010-01-05 20:47来源:网络 作者:秩名 点击:
table{ border-collapse : separate ; border-spacing : 0 ;} caption ,th,td{ text-align : left ; font-weight : normal ;} /*垂直居中*/ table,td,th{ vertical-align : middle ;} /*Removepossiblequotemark
     
  • table { border-collapseseparateborder-spacing0; }      
  • caption, th, td { text-alignleftfont-weightnormal; }      
  • /*垂直居中*/     
  • table, td, th { vertical-alignmiddle; }      
  •      
  • /* Remove possible quote marks (") from <q>, <blockquote>. */     
  • blockquote:before, blockquote:after, q:before, q:after { content""; }     
  • blockquote, q { quotes"" ""; }      
  •      
  • /* 链接内加图片,会有一个难看的border */     
  • a img { bordernone; }  
  • typography.css 代码

    1. /* --------------------------------------------------------------      
    2.     
    3.    typography.css     
    4.    * Sets up some sensible default typography.     
    5.         
    6.    typography == 文字排版     
    7.         
    8. -------------------------------------------------------------- */     
    9.      
    10. /* Default font settings.      
    11.    The font-size percentage is of 16px. (0.75 * 16px = 12px) 默认12像素     
    12.    */     
    13. body {       
    14.   font-size75%;      
    15.   color#222;       
    16.   background#fff;      
    17.   font-family"Helvetica Neue"ArialHelveticasans-serif;      
    18. }      
    19.      
    20.      
    21. /* Headings     
    22. -------------------------------------------------------------- */     
    顶一下
    (2)
    100%
    踩一下
    (0)
    0%
    ------分隔线----------------------------
    发表评论
    请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
    评价:
    表情:
    用户名:密码: 验证码:点击我更换图片
    推荐内容