当前位置: css > CSS框架 >

Blueprint CSS framework 分析(21)

时间:2010-01-05 20:47来源:网络 作者:秩名 点击:
background : #fff ; color : #fff ; } /*Clearingfloatswithoutextramarkup BasedonHowToClearFloatsWithoutStructuralMarkupbyPiE [http://www.positioniseverything.net/easyclearing.html]*/ .clearfix:after,.c
  •   background#fff;      
  •   color#fff;      
  • }      
  •      
  •      
  • /* Clearing floats without extra markup     
  •    Based on How To Clear Floats Without Structural Markup by PiE     
  •    [http://www.positioniseverything.net/easyclearing.html] */     
  •      
  • .clearfix:after, .container:after {      
  •   content"\0020";       
  •   displayblock;       
  •   height0;       
  •   clearboth;       
  •   visibilityhidden;      
  •   overflow:hidden;       
  • }      
  • .clearfix, .container {displayblock;}      
  •      
  • /* Regular clearing     
  •    apply to column that should drop below previous ones. */     
  •      
  • .clear { clear:both; }  
  • ie.css 代码

    1. /* --------------------------------------------------------------      
    2.         
    3.    ie.css     
    4.         
    5.    Contains every hack for Internet Explorer,     
    6.    so that our core files stay sweet and nimble.     
    7.         
    8.         
    9.    IE问题集  - -     
    10.    可以解决好多莫名其妙的IE兼容性问题     
    11. -------------------------------------------------------------- */     
    12.      
    13. /* Make sure the layout is centered in IE5      
    14. 兼容IE5...*/     
    15. body { text-aligncenter; }      
    顶一下
    (2)
    100%
    踩一下
    (0)
    0%
    ------分隔线----------------------------
    发表评论
    请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
    评价:
    表情:
    用户名:密码: 验证码:点击我更换图片
    推荐内容