Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts

    question about text

    if we take that still some people use CRT monitors and 1024x768px
    is minimum or standard for webpages, while many people use LCD's
    with wide screen and high resolutions

    is it better to make CSS text in pixels or points ?
    does any of these 2 properties (by itself) have impact on small res VS high res
    or it doesn't matter ?

  • #2
    New Coder
    Join Date
    May 2010
    Location
    Midwest, USA
    Posts
    11
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: question about text

    is it better to make CSS text in pixels or points ?
    does any of these 2 properties (by itself) have impact on small res VS high res
    or it doesn't matter ?
    Actually, neither should be used. Points is useable strictly for typeface applications when the size of the print media is known. Specifying size in pixels may disallow text size adjustments for visually impaired readers.

    A good start in researching this topic is:

    http://www.w3.org/QA/Tips/font-size

    Hope this helps.
    Last edited by tinimic; 06-17-2010 at 04:12 AM. Reason: update

  • #3
    Regular Coder
    Join Date
    Aug 2002
    Location
    San Francisco
    Posts
    455
    Thanks
    19
    Thanked 15 Times in 15 Posts
    Using em is good because it allows older versions of IE to size up and down. Older IE browsers didn't scale up pixels. I use pixels when I need precise measurements, though sometimes I use pixels just for div widths and use ems for font sizes.
    Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read. Groucho Marx

  • #4
    New Coder
    Join Date
    May 2009
    Posts
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts
    hmm bit confused now

  • #5
    New Coder
    Join Date
    Jun 2010
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts
    basically as I seem to understand it, use pixels for other elements, and em for text <p> <li> <h1> etc.


  •  

    Posting Permissions

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