Re: CuteEditor not Using Sylesheet's Font-Size

  •  07-30-2004, 2:50 PM

    Re: CuteEditor not Using Sylesheet's Font-Size

    EvilMonkey,
     
    There are two ways to control the Text Size in your web page:

    1. <FONT> tag


    You can use the SIZE attribute of the <FONT> tag to state the desired dimension as a value from 1 to 7. These values don't translate to pixels or points or any of the usual text measures, but the type size you're used to seeing on most Web pages is the browser default of 3. It's not the actual point size.
     
    This is FONT SIZE=1
    This is FONT SIZE=2

    This is FONT SIZE=3
    This is FONT SIZE=4
    This is FONT SIZE=5
    This is FONT SIZE=6
    This is SIZE=7
     

    The table below shows the point size actually used on your Web page by the major browsers. Browsers listed as Microsoft Internet Explorer Version 5.0 (IE 5.0), Netscape Navigator Version 4.2 (NN 4.2) and Version 4.7 (NN 4.7).


     
    PC
    IMAC
    Size
    IE 5.0
    NN 4.2
    IE 5.0
    NN 4.7
    1
    7
    8
    7
    9
    2
    9
    9
    9
    10
    3
    10
    12
    12
    12
    4
    12
    14
    14
    14
    5
    16
    18
    18
    18
    6
    20
    24
    24
    24
    7
    30
    34
    34
    34

    This table shows, for example, that FONT SIZE=4 gives you a 12 point font under Microsoft Internet Explorer Version 5.0 on the PC. But this same browser on the iMac will give you a 14 point font!
     
     
    2. Text Size Control with CSS
     
     
    Using the Cascading Stylesheets (CSS), you can get the actual point size:
     
     

    This is font-size: 7pt
    This is font-size: 8pt
    This is font-size: 9pt
    This is FONT SIZE=1
    This is font-size: 10pt
    This is FONT SIZE=2
    This is font-size: 11pt
    This is font-size: 12pt
    This is FONT SIZE=3
    This is font-size: 13pt
    This is font-size: 14pt
    This is font-size: 15pt
    This is FONT SIZE=4
    This is font-size: 16pt
    This is font-size: 17pt
    This is font-size: 18pt
    This is FONT SIZE=5
    This is font-size: 19pt
    This is font-size: 20pt
    This is font-size: 21pt
    This is font-size: 22pt
    This is font-size: 23pt
    This is font-size: 24pt
    This is FONT SIZE=6
    This is font-size: 25pt
    This is font-size: 26pt

     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread