Re: style.css font size question

Discussion in 'HTML' started by dp, Jul 6, 2003.

  1. dp

    dp Guest

    "Steve Pugh" <> wrote in message
    news:...
    > "William Tasso" <> wrote:
    > >Steve Pugh wrote:
    > >> "William Tasso" <> wrote:
    > >>>
    > >>> 1px is 1 pixel = 1/72 inches 72 pixels to the inch. It's a
    > >>> printing term
    > >>
    > >> No. That's points.
    > >> 1 pixel, according to the CSS spec a pixel is the length created on
    > >> the display by a viewing angle of about 0.0227 degrees. Yeah right.
    > >> Browsers treat pixel units as equivalent to screen pixels.

    > >
    > >The above rough working knowledge has been sufficient to get me along,

    but
    > >clarification is always good - thanks for the info.

    >
    > Want any more info? Here it comes....
    >
    > When the Mac was first released it was an important point (sorry) that
    > 1 point = 1 pixel. This was ideal for the DTP age afterall. Hence the
    > Mac had a virtual resolution of 72dpi (i.e. 72 pixels in screen = 1
    > inch when printed out, not 72 pixels per screen inch).
    >
    > Windows uses 96dpi instead with the normal small fonts. Or 120 dpi
    > with large fonts.
    >
    > Older Mac browsers followed the 72 dpi rule - so in versions up to and
    > including NN4.x and IE4.5 1pt = 1px.
    > Windows browsers and new Mac browsers (IE5 and Gecko based ones)
    > use 96dpi by default. So 1pt = 4/3 px.
    >
    > On some operating systems the dpi is under user control (and in some
    > browsers - the dpi setting in Mozilla seems to only work in linux
    > though).
    >
    > Most of these browsers have their factory default font size set to
    > 12pt. So in the older Mac browsers the factory default font comes out
    > as 12px tall whilst in Windows and newer Mac browsers it comes out as
    > 16px tall. (Mozilla sets it to 16px directly, finally breaking away
    > from the DTP paradigm.)
    >
    > Safari is an exception. It's factory default font setting comes out as
    > 14px tall. I don't know whether this is because it uses a different
    > dpi setting (84dpi?) or a different default font size.
    >
    > And on top of all that the user can of course change the default font
    > size; and in some case set a minimum size as well (Opera is annoying
    > in that the default size is set in pt but the minimum size is set in
    > px). Oh, and then there are user stylesheets.
    >
    > And people actually wonder why leaving the font size well alone is
    > anything other than the best thing to do?
    >
    > Steve
    >
    > --
    > "My theories appal you, my heresies outrage you,
    > I never answer letters and you don't like my tie." - The Doctor
    >
    > Steve Pugh <> <http://steve.pugh.net/>


    Excellent post Steve.
    This ones going in my save file!.
    dp
     
    dp, Jul 6, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dave richards
    Replies:
    2
    Views:
    616
    Paul Furman
    Feb 19, 2004
  2. K
    Replies:
    15
    Views:
    695
    Toby Inkster
    Feb 13, 2005
  3. Algomeysa2

    .CSS style sheets, font question

    Algomeysa2, Jan 30, 2006, in forum: HTML
    Replies:
    10
    Views:
    914
    Alan J. Flavell
    Jan 31, 2006
  4. wial
    Replies:
    2
    Views:
    824
  5. mttc
    Replies:
    2
    Views:
    2,404
    Roedy Green
    Jul 3, 2009
Loading...

Share This Page