我用CSS控制的字体,页面开始的时候是正常的,但是当我点击的时候就会变大,而且当做其他动作的时候也会变大,比如说:选择DropDownList弹出一个新的页面,字体就会变大了,请各位高手指点!谢谢!

解决方案 »

  1.   

    <style>
    * {font-size:9pt}
    </style>
      

  2.   

    以下是我的CSS文件
    body
    {
    font-family: Verdana, Arial;
            font-size: x-small;
            margin: 0;
    }TABLE           
    {
    font-family: Verdana, Arial;
    font-size: x-small;
    }a:link          
    {
    color:Black;
        text-decoration: none;
        font-size:x-small;
     }
    a:active        
    {
    color:Red;
        text-decoration: none;
        font-size:x-small;
    }
    a:visited       
    {
    color:Blue;
        text-decoration: none;
        font-size:x-small;
    }
    a:hover         
    {
    color:Red;
        text-decoration: none;
        font-size:x-small;
    }A.bann:link          
    {
    color:White;
        text-decoration: none;
        font-weight:bold;
     }
    A.bann:active        
    {
    color:White;
        text-decoration: none;
        font-weight:bold;
    }
    A.bann:visited       
    {
    color:White;
        text-decoration: none;
        font-weight:bold;
    }
    A.bann:hover         
    {
    color:White;
        text-decoration: none; 
        font-weight:bold;
    }
    TD {
    COLOR: #000000; WORD-BREAK: break-all
    }TEXTAREA 
    {
    font-family: Verdana, Arial;BORDER-TOP-WIDTH: 1px; SCROLLBAR-FACE-COLOR: #009ace; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-BOTTOM-WIDTH: 1px; SCROLLBAR-HIGHLIGHT-COLOR: #b8e9fa; SCROLLBAR-SHADOW-COLOR: #009aaa; SCROLLBAR-3DLIGHT-COLOR: #000000; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-TRACK-COLOR: #f4f4f4; SCROLLBAR-DARKSHADOW-COLOR: #000000; BACKGROUND-COLOR: #f4f4f4; BORDER-RIGHT-WIDTH: 1px
    }
      

  3.   

    基本上 控制为12px最合适<style>
    * {font-size:12px;}
    </style>
      

  4.   

    把 font-size: x-small;
    替换为 font-size:12px;
      

  5.   

    Length Units 长度单位 CSS Version 版本 Compatibility 兼容性 Description 简介 
    相对长度单位  Relative Length Units 
    em CSS1 IE4+ , NS4+ 相对于当前对象内文本的字体尺寸 
    ex CSS1 IE4+ , NS4+ 相对于字符 “ x ” 的高度。通常为字体高度的一半 
    px CSS1 IE3+ , NS4+ 像素(Pixel) 
    绝对长度单位  Absolute Length Units 
    pt CSS1 IE3+ , NS4+ 点(Point) 
    pc CSS1 IE3+ , NS4+ 派卡(Pica)。相当于我国新四号铅字的尺寸 
    in CSS1 IE3+ , NS4+ 英寸(Inch) 
    cm CSS1 IE3+ , NS4+ 厘米(Centimeter) 
    mm CSS1 IE3+ , NS4+ 毫米(Millimeter) 
      

  6.   

    单位换算:1in = 2.54cm = 25.4 mm = 72pt = 6pc
      

  7.   

    1、控制面班->辅助选项->显示->把使用高对比度那个选项的勾去掉 
    2、新建一个文本文件,用IE打开,将[查看]>[文字大小]改为[中],关闭IE