Fontsize adjust question

Last post 06-24-2004, 5:05 AM by Geoffrey. 2 replies.
Sort Posts: Previous Next
  •  06-23-2004, 4:32 AM 1079

    Fontsize adjust question

    I was wondering if I can change the fontsize behind the numbers in the dropdownsection.
    I found out that I want a fontsize that's between size 1 and 2 generated by the tool.
    Seems like size 1 = 7,5pt and size 2 = 10pt, I want a 8pt.
     
    Only when I look at the code the only numbers I find are 1-7,

    'A list of numbers for the font size dropdownlist.

    editor.FontSizesList = "1,2,3,4,5,7"

    I suppose it's a different standard from the "pt" or "px" as used in stylesheets.
    My question is are these figures variabeles to be defined elsewhere or a hard HTML/ASP-standard.
     
    Geoffrey
  •  06-23-2004, 1:18 PM 1081 in reply to 1079

    Re: Fontsize adjust question

    Geoffrey,
     
    The fontsite dropdown renders the code as followings:
     
    <font size=4>
         Your text goes here
    </font>
     
    The SIZE attribute allows you to set your font to an abstract size ranging from 1 to 7. The exact type size corresponding to each of these values is left to your browser. You can't be sure, for example, that SIZE=4 will give you a 12 point typeface; you know only that SIZE=4 will be bigger than SIZE=3.
     

    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!
     
     
    If you do want to set the right size, you approach it is to make use of the Style menu and add a bunch of style items to it called "10pt", "12pt", etc, and then add styles to the stylesheet  so they are set to the right size.

     


     
     

    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

  •  06-24-2004, 5:05 AM 1092 in reply to 1081

    Re: Fontsize adjust question

    Ah yes adjust it with the styles and the stylesheet.
    Simple and effective.
     
    Thank you Adam
View as RSS news feed in XML