font-size: 12px样式定义这样不行吗
可能是IE跟火狐调置有关

解决方案 »

  1.   

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
     <HEAD>
      <TITLE> New Document </TITLE>
      <META NAME="Generator" CONTENT="EditPlus">
      <META NAME="Author" CONTENT="">
      <META NAME="Keywords" CONTENT="">
      <META NAME="Description" CONTENT="">
     </HEAD> <BODY>
      <div style="font-size: 14px;">csdn.net</div>
     </BODY>
    </HTML>font-size Attribute | fontSize PropertyHTML { font-size : sSize }  
    Scripting object.style.fontSize [ = sSize ] sSize Variant that specifies or receives one of the following values.absolute-size Set of keywords that indicate predefined font sizes. Named font sizes scale according to the user's font setting preferences. Possible values include the following: xx-small, x-small, small, medium, large, x-large, xx-large.  
    relative-size Set of keywords that are interpreted as relative to the font size of the parent object. Possible values include the following: larger, smaller.  
    length Floating-point number, followed by an absolute units designator (cm, mm, in, pt, pc, or px) or a relative units designator (em or ex). For more information about the supported length units, see the CSS Length Units Reference. 
    percentage Integer, followed by a percent (%). The value is a percentage of the parent object's font size. In Internet Explorer 3.0, the value is calculated as a percentage of the default font size.