css font縮寫總結附執行個體_經驗交流

來源:互聯網
上載者:User
font的縮寫,如果省略family,
如這樣子:
font:700 14px/22px;
則在Firefox下是不生效的
完整的寫法是:font:700 14px/22px arial;

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <style> .login_top{height:26px;font:bold 14px/26px "宋體"; border:1px solid #000} .login_top2{height:26px; line-height:26px; font-weight:bold;font-size:14px;border:1px solid #000; font-family:'宋體'} </style> 我垂直不置中 <br/ > 我垂直置中
[Ctrl+A 全選 注:如需引入外部Js需重新整理才能執行]
  • 相關文章

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.