当前位置: css > CSS框架 >

Blueprint CSS framework 分析(23)

时间:2010-01-05 20:47来源:网络 作者:秩名 点击:
htmlbodyp code {*whitewhite-space: normal ;} /*IE67hasproblemswithsettingproperhrmargins.*/ hr{ margin : -8px auto 11px ;} /*Explicitlysetinterpolation,allowingdynamicallyresizedimagestonotlookhorribl
html>body p code { *whitewhite-space: normal; }       
  •      
  • /* IE 6&7 has problems with setting proper <hr> margins. */     
  • hr  { margin-8px auto 11px; }      
  •      
  • /* Explicitly set interpolation, allowing dynamically resized images to not look horrible */     
  • img { -ms-interpolation-mode: bicubic; }      
  •      
  • /* Clearing      
  • -------------------------------------------------------------- */     
  •      
  • /* Makes clearfix actually work in IE */       
  • .clearfix, .container {display: inline-block;}      
  • * html .clearfix,      
  • * html .container {height1%;}      
  •      
  •      
  • /* Forms      
  • -------------------------------------------------------------- */     
  •      
  • /* Fixes padding on fieldset */     
  • fieldset {padding-top0;}      
  •      
  • /* Fixes rule that IE 6 ignores */     
  • input.text, input.title {background-color:#fff;border:1px solid #bbb;}      
  • input.text:focus, input.title:focus {border-color:#666;}      
  • input.text, input.title, textarea, select {margin:0.5em 0;}      
  • input.checkbox, input.radio {position:relative; top:.25em;}      
  •      
  • /* Fixes alignment of inline form elements */       
  • form.inline div, form.inline p {vertical-align:middle;}      
  • form.inline label {position:relative;top:-0.25em;}      
  • form.inline input.checkbox, form.
  • 顶一下
    (2)
    100%
    踩一下
    (0)
    0%
    ------分隔线----------------------------
    发表评论
    请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
    评价:
    表情:
    用户名:密码: 验证码:点击我更换图片
    推荐内容