常用的設定按鈕或捲軸CSS樣式和設定通用的字型CSS

來源:互聯網
上載者:User
CSS常用樣式
自訂一個CSS類可以引用到HTML標籤上。
實線:solid    虛線:dashed  自訂CSS類:ummad

.ummad{
    border: 1px solid #003366;
}
=========================================
統一設定input標籤的樣式(不推薦)

.input{
    border: 1px solid #003366;
}
=========================================
設定捲軸的樣式:放在head後面。
<style>
BODY {}{
 SCROLLBAR-FACE-COLOR: #0066FF; 
 SCROLLBAR-HIGHLIGHT-COLOR: #0066FF; 
 SCROLLBAR-SHADOW-COLOR: #0066FF; 
 SCROLLBAR-3DLIGHT-COLOR: #0066FF; 
 SCROLLBAR-ARROW-COLOR: #000000; 
 SCROLLBAR-TRACK-COLOR: #999999; 
 SCROLLBAR-DARKSHADOW-COLOR: #0066FF; 
}
</style>

=========================================
統一定義HTML文本字型:

body,td,th {
    font-size: 12px;
}
相關文章

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.