How does "HTML font size"  work ?

I spent a long time fighting with the <html> <Font. face=serif size=xxx>
Originally I tried to set the size to 24, 20, 18 or -1, or -2. This gave strange results. Either my letter size was much higher than I was expecting, or very small when using negative numbers.
After many tries, I noticed that by using size=1, size=2, size= 3, and so on, works much better.
So I'm looking for information about the relationship between these values and the heigth (or width) number of points.
Thanks to anyone who may help me.
Gege

The <font> tag is depreacted.
"What's Wrong With FONT?" - http://www.mcsr.olemiss.edu/%7Emudws/font.html
Use something like styles instead. You'll see that the font sizes aren't as surprising this way.
Example:
These should all be about the same size (using IE).
Note that the third (using percentage) will change when
the user changes their browser's text size (ie: View -> Text Size)
<span style="font-size:16px">Text</span><br/>
<span style="font-size:12pt">Text</span><br/>
<span style="font-size:100%">Text</span><br/>See also - http://www.w3schools.com/html/html_fonts.asp

Similar Messages

  • Forms API, does set font size work?

    i call code as below:
    num = 8;
    d2fitms_font_siz(ctx, itm1, num);                    
    num = -1;
    d2fitmg_font_siz(ctx, itm1, &num);
    printf("num = %d ", num);     
    which verifies that the font size was, in fact, set to 8. however when i open my canvas in the layout editor, it appears as zero. all other changes to itm1 seem to work properly.
    do i need to set anything else, or is there a place i can check to see if this feature is broken?
    thanks,
    -james

    /* Copyright (c) Oracle Corporation 1996.  All Rights Reserved. */
       NAME
        D2FFNT.H -- Dev2K Forms API FoNT declarations
       DESCRIPTION
        Contains the public declarations for the Forms API FoNT support
       PUBLIC FUNCTIONS
        d2ffntcr_Create          - Cover for d2fobcr_Create
        d2ffntde_Destroy         - Cover for d2fobde_Destroy
        d2ffntdu_Duplicate       - Cover for d2fobdu_Duplicate
        d2ffntex_Extract         - Extract font info from object into font object
        d2ffntap_Applyl          - Apply font info from font object into object
        d2ffntg?_Get*Prop        - Cover for d2fobg?_Get*Prop
        d2ffnts?_Set*Prop        - Cover for d2fobs?_Set*Prop
        d2ffnthp_HasProp         - Cover for d2fobhp_HasProp
    #ifndef D2FFNT
    #define D2FFNT
    #ifndef ORATYPES
    # include <oratypes.h>
    #endif
    #ifndef D2FPRIV
    # include <d2fpriv.h>
    # endif
    /* C++ Support */
    #ifdef __cplusplus
    extern "C"
    #endif
    ** Object: Coordinate Info
    ** d2ffntex_Extract - Extract the font object from an object that
    **                    has font properties associated with it.  The
    **                    vat_typ argument is one of the D2FC_VATY_*
    **                    constants.  The font object must already have
    **                    been created.
    ** d2ffntap_Apply   - Apply the contents of the font object to the
    **                    specified object.  This is a shortcut to
    **                    setting the individual font properties one-
    **                    by-one.
    ORA_RETTYPE(d2fstatus) d2ffntcr_Create( d2fctx *pd2fctx, d2ffnt **ppd2ffnt );
    ORA_RETTYPE(d2fstatus) d2ffntde_Destroy( d2fctx *pd2fctx, d2ffnt *pd2ffnt );
    ORA_RETTYPE(d2fstatus) d2ffntdu_Duplicate( d2fctx *pd2fctx,
                                               d2ffnt *pd2ffnt_src,
                                               d2ffnt **ppd2ffnt_dst );
    ORA_RETTYPE(d2fstatus) d2ffntex_Extract( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                             d2fob *pd2fob, number vat_typ );
    ORA_RETTYPE(d2fstatus) d2ffntap_Apply( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                           d2fob *pd2fob, number vat_typ );
    ORA_RETTYPE(d2fstatus) d2ffntgb_GetBoolProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                 ub2 pnum, boolean *pprp );
    ORA_RETTYPE(d2fstatus) d2ffntgn_GetNumProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                ub2 pnum, number *pprp );
    ORA_RETTYPE(d2fstatus) d2ffntgt_GetTextProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                 ub2 pnum, text **pprp );
    ORA_RETTYPE(d2fstatus) d2ffntgo_GetObjProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                ub2 pnum, dvoid **pprp );
    ORA_RETTYPE(d2fstatus) d2ffntgp_GetBlobProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                ub2 pnum, dvoid **pprp );
    ORA_RETTYPE(d2fstatus) d2ffntsb_SetBoolProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                 ub2 pnum, boolean prp );
    ORA_RETTYPE(d2fstatus) d2ffntsn_SetNumProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                ub2 pnum, number prp );
    ORA_RETTYPE(d2fstatus) d2ffntst_SetTextProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                 ub2 pnum, text *prp );
    ORA_RETTYPE(d2fstatus) d2ffntso_SetObjProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                ub2 pnum, dvoid *prp );
    ORA_RETTYPE(d2fstatus) d2ffntsp_SetBlobProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                                ub2 pnum, dvoid *prp );
    ORA_RETTYPE(d2fstatus) d2ffnthp_HasProp( d2fctx *pd2fctx, d2ffnt *pd2ffnt,
                                             ub2 pnum );
    /* Begin convenience macros  */
    #define d2ffntg_font_nam(ctx,obj,val) \
               d2ffntgt_GetTextProp(ctx,obj,D2FP_FONT_NAM,val)
    #define d2ffntg_font_siz(ctx,obj,val) \
               d2ffntgn_GetNumProp(ctx,obj,D2FP_FONT_SIZ,val)
    #define d2ffntg_font_spcing(ctx,obj,val) \
               d2ffntgn_GetNumProp(ctx,obj,D2FP_FONT_SPCING,val)
    #define d2ffntg_font_sty(ctx,obj,val) \
               d2ffntgn_GetNumProp(ctx,obj,D2FP_FONT_STY,val)
    #define d2ffntg_font_wght(ctx,obj,val) \
               d2ffntgn_GetNumProp(ctx,obj,D2FP_FONT_WGHT,val)
    #define d2ffnts_font_nam(ctx,obj,val) \
               d2ffntst_SetTextProp(ctx,obj,D2FP_FONT_NAM,val)
    #define d2ffnts_font_siz(ctx,obj,val) \
               d2ffntsn_SetNumProp(ctx,obj,D2FP_FONT_SIZ,val)
    #define d2ffnts_font_spcing(ctx,obj,val) \
               d2ffntsn_SetNumProp(ctx,obj,D2FP_FONT_SPCING,val)
    #define d2ffnts_font_sty(ctx,obj,val) \
               d2ffntsn_SetNumProp(ctx,obj,D2FP_FONT_STY,val)
    #define d2ffnts_font_wght(ctx,obj,val) \
               d2ffntsn_SetNumProp(ctx,obj,D2FP_FONT_WGHT,val)
    /* End convenience macros  */
    /* C++ Support */
    #ifdef __cplusplus
    #endif
    #endif /* D2FFNT */

  • How to reset font size tool to work?

    I copied and paste text onto a pic on photoshop and it has completely resized the whole workshop.  Everything, now is so small  you can see it.  I can select 72 pts but then it's just barely large enough to read.  What has happened and how do I restore things there way they were? 
    I have Photoshop 6.

    thank you Barbara...I missed that.  thanks sooo much!
    Robin  & The Beasts
    of
    Misty Mountain
    _www.mistymountainestrelas.com 
    In a message dated 11/16/2012 5:23:52 P.M. Eastern Standard Time, 
    [email protected] writes:
    Re:  how to reset font size tool to work?
    created by Barbara B._ (http://forums.adobe.com/people/Barbara+B.)  in 
    Photoshop Elements - View the full  discussion
    (http://forums.adobe.com/message/4853918#4853918)

  • How to change font size

    Just purchased Deskjet 1010 & don't know how to change font size.

    hellinger
    Welcome to the HP Community Forum.
    In most cases you can adjust the scale of your documents before you print.
    Please take a look at the following:
    Manage Print Output with Print Preview
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • HT4914 How does the payment method work for iTunes Match?

    How does the payment method work with iTunes Match. For example, if you have a gift card, does it take it out of that. Or is there tax? What if you cancel your subscription in the middle of the year, does it take the money for that year or not? If someone could answer those questions it would be greatly apreciated. And if anyone has their own questions, feel free to ask. Thank you.

    Hi HLFrank,
    Welcome to Adobe Forum,
    You can opt for monthly payment in a yearly contract or pay at one go for an year.
    Please check the option at http://www.adobe.com/in/products/creativecloud/buying-guide.html
    Regards,
    Rajshree

  • How to increase font size in Java script alert message

    Is anybody know how to increase font size in Java script alert message
    THanks in Advance ....

    Hi,
    You can NOT do it with Javascript.
    You need an alternative solution: http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/popup-box_84.html
    Tobias

  • In SAP 4.6c In classical reports output how to change Font size and Font type

    Dear Experts,
    In SAP 4.6c, in classical and interactive reports  output how to change font size and font type.
    Regards,
    Zaker.

    These are HTML formatting questions. Nothing to do with the Oracle SQL and PL/SQL languages.
    With old-style HTML, the font size and family are set using the font tag.
    With modern style HTML, that is done using cascading style sheets (CSS).
    Your favourite search engine will turn up tons of information on both.

  • How does business catalyst really work?

    So i've tried to reach this and cant seem to find answers in plain english.... How does Business Catalyst really work?.. functionally.
    1) I have a hosting service with godaddy and jumpline, I have a lot of space and do all of my client's websites through the space I have with those two plans, do they offer the business catalyst format? Just buy that platform with them or have it added?
    2) I have CC, business catalyst "comes with" it.... how does that work? Am I given space on someone elses server somewhere or do I just have the ability to upload the BC software onto a server I have... in which case could it be uploaded to godaddy or jumpline?
    3) The new MUSE features can only be done with business catalyst right?

    Hi,
    Business Catalyst is a web hosting platform that lets web designers host, build, and sell websites to clients. You use Muse to create and update a website. You use Business Catalyst to host it. A Muse subscription includes free hosting on Business Catalyst for one site. A Creative Cloud membership includes free hosting for five sites.
    Regarding your Creative Cloud Subscription, with BC. You must install and use Muse/Dreamweaver to publish your free sites. For More details, Please refer to the article below
    http://helpx.adobe.com/business-catalyst/using/business-catalyst-muse-users.html
    The new Muse feature, like in Browser editing is compatible only with Business Catalyst, but the other feature like Parallex Scrolling works on all the other hosting as well, like Godaddy.
    If you still have any query, please let us know and we will try to resolve it.
    Thanks.

  • How does "find my iphone work if you your phone is lost/stolen?

    How does "Find my Iphone" work if the phone is lost or stolen?

    http://www.apple.com/icloud/features/find-my-iphone.html
    Regards.

  • Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two? also I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own?
    Yes, it is possible. 1 apple ID can be associated with up to 10 devices.
    If each has their own does each id have to buy their own music and apps?
    Yes, all purchases are non-transferable.
    How does find my iphone work with one apple id or two?
    Every device associated with one apple ID through Find my iPhone is tied to that Apple ID; Find my iPhone will work in the same way with up to ten devices associated with one apple ID. You cannot enable Find my iPhone for one device across two apple IDs
    I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?
    If you have authorized a computer with the old apple ID, you can transfer old media purchased through the old to other devices via iTunes. This doesn't mean the media purchases through the old apple ID it transferred to the new account. If you plan to make future purchases and don't wish to share them with others, make your own apple ID.

  • How to change font size on screen

    how to change font size on screen

    I'm not certain what font sizes you wish to change, when on a page you can use command and the += button to zoom in and make the fonts larger. On the finder desktop you can make what ever is on the desktop larger or smaller from the finder menu click view, custom view options, and adjust the icon size with the slider on the top, and the text using the text size box to select the size that your comfortable with.
    Forgot to add these.
    http://support.apple.com/kb/PH10876
    http://support.apple.com/kb/PH10877
    Hope this helps.

  • How to change Font Size of Object Explorer in "SQL Server Management Studio"

    Dear Team,
    "SQL Server Management Studio" is a fantastic IDE for the database.
    There are so many customization options available but one thing many users missing is that " How to change Font Size of Object Explorer?"
    Can you please accumulate this feature in IDE ASAP?
    Many Thanks,
    Bhavesh

    Its there
    Go to Tools -> Options
    Then under Environment you've fonts and colors tab where you can specify a higher font size.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to change font size, maximum column size in the result screen ?

    hi All
    That's great when using SQL Dev.
    But I also have a trouble that how to change font size, maximum column size in the result screen ?
    My users think that font in result screen is shown very small, and whenever the data in each colum is long then it's not shown full data in column, they must double click for extend the size. Have the option to default the max size for showing full data in each column ? I try but still not to do that .
    Appreciate for anyone to help us.
    Thanks all.
    Sigmasvn

    You can't change the font for the results screen yet, however you will be able to select an auto-fit option for selected columns, so if some columns have slitghtly wider text you'll be able to set the column widths to handle these wider columns.
    Also, there s the option of switching the layout of a record in the grid.
    Sue

  • How to change font size and style in keynote for ios

    How to change font size and style in keynote for ios

    Same situation for report parameter input value font. What ever we do , it is still Arial and size 10.

  • How to change font size in a call-out tool box?

    Hi, the other day i inserted a call-out tool box in a PDF document, however i cannot find anything that can change the font size of the letters i input in that box. could anyone help? Thanks.
    Sherman

    This is a question for the Acrobat support forums – please post there.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 23 Nov 2011 10:55:07 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: how to change font size in a call-out tool box?
    Re: how to change font size in a call-out tool box?
    created by danmarch<http://forums.adobe.com/people/danmarch> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/4043425#4043425

Maybe you are looking for

  • How to change from SLIM to KDM?

    Hello, I'm using the MATE desktop, OpenBox as window manager and SLIM for login. I'm starting to feel tired of not being able to change between various desktops without closing the main one, I mean, with OpenSUSE Ctrl+Alt+F1 to F6 are terminal ttys (

  • Acrobat X Std does not print from IE8 menu, rt click works...

    Weird. I can't print an embedded PDF in IE8 going through File, Print. Nothing happens. There is no error, the thing just disappears. File, Print Preview shows the frame images, but not the embedded PDF. I can, however, right click on the embedded PD

  • Samson c01U was clear on G4 PPC but has excessive digital hiss on Imac

    I posted this in the imac forum but maybe it belongs here - I do some recording in garageband and see the problem there I love this microphone, and used to use it on a G4 PPC where it worked absolutely fine. The only noise it picked up was from the n

  • Safari crashes immediately upon startup

    For some time now my Safari crashes immediately upon startup. I already tried to remove plugins etc. but no succes. See crash report below: Process:         Safari [308] Path:            /Applications/Browsers/Safari.app/Contents/MacOS/Safari Identif

  • Why Apple is not accepting ID verification over the phone?

    I'm going crazy because I cant access my emails anymore. The iforgot system demands a rescue email or a answer for security question which I dont have for this account was created many years ago and I never figure there was no other way to confirm my