Results 1 to 8 of 8

Thread: Font declaration in CSS in NoF

  1. #1
    frank lee
    Guest

    Default Font declaration in CSS in NoF

    I have a client who wants to use Calibri as their main font on their
    new web site. While Calibri is fairly common on windows systems, I want
    to make sure it degrades gracefully on systems that don't have that
    font installed. So I'm thinking along the lines of "Calibri, Trebuchet,
    Helvetica, sans-serif" in my CSS font declaration.

    However, where do I do this in NoF11? When I edit CSS in Manage Styles
    it only allows me to declare one font. I assume there is somewhere in
    the user interface I can add the other fonts to Calibri but not sure
    where as I've only just moved to v11 and it really is quite different
    in its interface to previous versions.

    Second question, if I declare the font in pixels rather than points or
    ems, am I right in thinking that a 12px font will be the same size not
    matter which type face I'm using. Usually, for example, Verdana will
    display in 10pt considerably larger than some other fonts, but 12px
    will be 12px no matter what the type face used - correct?

    TIA

    frank

    --


  2. #2
    Technology Ideas
    Guest

    Default Re: Font declaration in CSS in NoF

    You can alter the code in the SELECTORS tab of STYLE. Manually type it into
    the CSS Code Editor on the right. It asks you to save the code and then
    will update the CSS CODE section you were trying.

    And to your second question, yes, px is a better setting for matching font
    sizes more accurately.
    --
    Andrew Baker
    Technology Ideas
    http://www.technologyideas.com.au
    Australia
    "frank lee" <frank@unlimitedmarketing.net> wrote in message
    news:hos5mr$ecf$1@DailyPlanet.news.netobjects.com. ..
    >I have a client who wants to use Calibri as their main font on their
    > new web site. While Calibri is fairly common on windows systems, I want
    > to make sure it degrades gracefully on systems that don't have that
    > font installed. So I'm thinking along the lines of "Calibri, Trebuchet,
    > Helvetica, sans-serif" in my CSS font declaration.
    >
    > However, where do I do this in NoF11? When I edit CSS in Manage Styles
    > it only allows me to declare one font. I assume there is somewhere in
    > the user interface I can add the other fonts to Calibri but not sure
    > where as I've only just moved to v11 and it really is quite different
    > in its interface to previous versions.
    >
    > Second question, if I declare the font in pixels rather than points or
    > ems, am I right in thinking that a 12px font will be the same size not
    > matter which type face I'm using. Usually, for example, Verdana will
    > display in 10pt considerably larger than some other fonts, but 12px
    > will be 12px no matter what the type face used - correct?
    >
    > TIA
    >
    > frank
    >
    > --
    >
    >




  3. #3
    Nancy O.
    Guest

    Default Re: Font declaration in CSS in NoF

    <And to your second question, yes, px is a better setting for matching font
    sizes more accurately.>

    I no longer use pixels for font-sizes. For the 15-19% of web users who
    still use Pre-IE7 browsers, pixels is a major limitation because it can't be
    resized with Ctrl++ or View > Text Size > Larger/Largest.

    % or ems are much friendlier. And with a few CSS tricks, you can have
    cross-browser compatible font-sizes.

    http://alt-web.com/DEMOS/font-sizes.shtml



    --
    Nancy O.
    Alt-Web Design & Publishing
    Web | Print | Media Specialist
    www.alt-web.com
    www.twitter.com/altweb
    www.alt-web.blogspot.com

    "Technology Ideas" <info@(remove)technologyideas.com.au> wrote in message
    news:hosd9e$hka$1@DailyPlanet.news.netobjects.com. ..
    > You can alter the code in the SELECTORS tab of STYLE. Manually type it
    > into the CSS Code Editor on the right. It asks you to save the code and
    > then will update the CSS CODE section you were trying.
    >
    > And to your second question, yes, px is a better setting for matching font
    > sizes more accurately.
    > --
    > Andrew Baker
    > Technology Ideas
    > http://www.technologyideas.com.au
    > Australia
    > "frank lee" <frank@unlimitedmarketing.net> wrote in message
    > news:hos5mr$ecf$1@DailyPlanet.news.netobjects.com. ..
    >>I have a client who wants to use Calibri as their main font on their
    >> new web site. While Calibri is fairly common on windows systems, I want
    >> to make sure it degrades gracefully on systems that don't have that
    >> font installed. So I'm thinking along the lines of "Calibri, Trebuchet,
    >> Helvetica, sans-serif" in my CSS font declaration.
    >>
    >> However, where do I do this in NoF11? When I edit CSS in Manage Styles
    >> it only allows me to declare one font. I assume there is somewhere in
    >> the user interface I can add the other fonts to Calibri but not sure
    >> where as I've only just moved to v11 and it really is quite different
    >> in its interface to previous versions.
    >>
    >> Second question, if I declare the font in pixels rather than points or
    >> ems, am I right in thinking that a 12px font will be the same size not
    >> matter which type face I'm using. Usually, for example, Verdana will
    >> display in 10pt considerably larger than some other fonts, but 12px
    >> will be 12px no matter what the type face used - correct?
    >>
    >> TIA
    >>
    >> frank
    >>
    >> --
    >>
    >>

    >
    >



  4. #4
    Adendum
    Guest

    Default Re: Font declaration in CSS in NoF

    Nancy,

    Bugger! OK, is there a way to set the default in NOF to use ems rather
    than px? Besides manually changing everything for every new site!



    Paul


    On 31/03/2010 00:52, Nancy O. wrote:
    > <And to your second question, yes, px is a better setting for matching font
    > sizes more accurately.>
    >
    > I no longer use pixels for font-sizes. For the 15-19% of web users who
    > still use Pre-IE7 browsers, pixels is a major limitation because it
    > can't be resized with Ctrl++ or View > Text Size > Larger/Largest.
    >
    > % or ems are much friendlier. And with a few CSS tricks, you can have
    > cross-browser compatible font-sizes.
    >
    > http://alt-web.com/DEMOS/font-sizes.shtml
    >
    >
    >


  5. #5
    Twayne
    Guest

    Default Re: Font declaration in CSS in NoF

    Thanks much for that! Every once in awhile I receive a
    complaint about sizing.

    Twaye`



    In news:hou38q$b1m$1@DailyPlanet.news.netobjects.com,
    Nancy O. <nancyoshea1@NOSPAMatt.net> typed:
    > <And to your second question, yes, px is a better setting
    > for matching font sizes more accurately.>
    >
    > I no longer use pixels for font-sizes. For the 15-19% of
    > web users who still use Pre-IE7 browsers, pixels is a major
    > limitation because it can't be resized with Ctrl++ or View
    > > Text Size > Larger/Largest.

    >
    > % or ems are much friendlier. And with a few CSS tricks,
    > you can have cross-browser compatible font-sizes.
    >
    > http://alt-web.com/DEMOS/font-sizes.shtml
    >
    >
    >
    >
    > "Technology Ideas" <info@(remove)technologyideas.com.au>
    > wrote in message
    > news:hosd9e$hka$1@DailyPlanet.news.netobjects.com. ..
    >> You can alter the code in the SELECTORS tab of STYLE.
    >> Manually type it into the CSS Code Editor on the right. It
    >> asks you to save the code and then will update the CSS
    >> CODE section you were trying. And to your second question,
    >> yes, px is a better setting
    >> for matching font sizes more accurately.
    >> --
    >> Andrew Baker
    >> Technology Ideas
    >> http://www.technologyideas.com.au
    >> Australia
    >> "frank lee" <frank@unlimitedmarketing.net> wrote in message
    >> news:hos5mr$ecf$1@DailyPlanet.news.netobjects.com. ..
    >>> I have a client who wants to use Calibri as their main
    >>> font on their new web site. While Calibri is fairly
    >>> common on windows systems, I want to make sure it
    >>> degrades gracefully on systems that don't have that font
    >>> installed. So I'm thinking along the lines of "Calibri,
    >>> Trebuchet, Helvetica, sans-serif" in my CSS font
    >>> declaration. However, where do I do this in NoF11? When I
    >>> edit CSS in
    >>> Manage Styles it only allows me to declare one font. I
    >>> assume there is somewhere in the user interface I can add
    >>> the other fonts to Calibri but not sure where as I've
    >>> only just moved to v11 and it really is quite different
    >>> in its interface to previous versions. Second question, if
    >>> I declare the font in pixels rather
    >>> than points or ems, am I right in thinking that a 12px
    >>> font will be the same size not matter which type face I'm
    >>> using. Usually, for example, Verdana will display in 10pt
    >>> considerably larger than some other fonts, but 12px will
    >>> be 12px no matter what the type face used - correct? TIA
    >>>
    >>> frank
    >>>
    >>> --





  6. #6
    frank lee
    Guest

    Default Re: Font declaration in CSS in NoF

    Nancy O. wrote:
    I've tried to use the ems setting in my last 3 sites, and in every
    case, suddenly, for no apparent reason, the font size changes and
    certain pages. Nothing else has been done, nothing changed in Manage
    Styles, yet one of more pages will suddently change the font size which
    is spec'd both in the Body section and in the TextOBject section of
    Manage Styles.

    In each case I've had to change to px and everything is ok once more -
    and doesn't change by itself again.

    cheers

    frank

    > <And to your second question, yes, px is a better setting for
    > matching font sizes more accurately.>
    >
    > I no longer use pixels for font-sizes. For the 15-19% of web users
    > who still use Pre-IE7 browsers, pixels is a major limitation because
    > it can't be resized with Ctrl++ or View > Text Size > Larger/Largest.
    >
    > % or ems are much friendlier. And with a few CSS tricks, you can
    > have cross-browser compatible font-sizes.
    >
    > http://alt-web.com/DEMOS/font-sizes.shtml




    --


  7. #7
    Max
    Guest

    Default Re: Font declaration in CSS in NoF

    Hi Frank

    You may also find this interesting:

    http://articles.sitepoint.com/articl...ve-font-stacks

    Max

    ----
    frank lee wrote:
    > I have a client who wants to use Calibri as their main font on their
    > new web site. While Calibri is fairly common on windows systems, I want
    > to make sure it degrades gracefully on systems that don't have that
    > font installed. So I'm thinking along the lines of "Calibri, Trebuchet,
    > Helvetica, sans-serif" in my CSS font declaration.
    >
    > However, where do I do this in NoF11? When I edit CSS in Manage Styles
    > it only allows me to declare one font. I assume there is somewhere in
    > the user interface I can add the other fonts to Calibri but not sure
    > where as I've only just moved to v11 and it really is quite different
    > in its interface to previous versions.
    >
    > Second question, if I declare the font in pixels rather than points or
    > ems, am I right in thinking that a 12px font will be the same size not
    > matter which type face I'm using. Usually, for example, Verdana will
    > display in 10pt considerably larger than some other fonts, but 12px
    > will be 12px no matter what the type face used - correct?
    >
    > TIA
    >
    > frank
    >


  8. #8
    frank lee
    Guest

    Default Re: Font declaration in CSS in NoF

    Thanks guys.

    frank

    Max wrote:

    > Hi Frank
    >
    > You may also find this interesting:
    >
    > http://articles.sitepoint.com/articl...ve-font-stacks
    >
    > Max
    >
    > ----
    > frank lee wrote:
    > > I have a client who wants to use Calibri as their main font on their
    > > new web site. While Calibri is fairly common on windows systems, I
    > > want to make sure it degrades gracefully on systems that don't have
    > > that font installed. So I'm thinking along the lines of "Calibri,
    > > Trebuchet, Helvetica, sans-serif" in my CSS font declaration.
    > >
    > > However, where do I do this in NoF11? When I edit CSS in Manage
    > > Styles it only allows me to declare one font. I assume there is
    > > somewhere in the user interface I can add the other fonts to
    > > Calibri but not sure where as I've only just moved to v11 and it
    > > really is quite different in its interface to previous versions.
    > >
    > > Second question, if I declare the font in pixels rather than points
    > > or ems, am I right in thinking that a 12px font will be the same
    > > size not matter which type face I'm using. Usually, for example,
    > > Verdana will display in 10pt considerably larger than some other
    > > fonts, but 12px will be 12px no matter what the type face used -
    > > correct?
    > >
    > > TIA
    > >
    > > frank
    > >




    --


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •