Anti-Aliasing Text

Discussion in 'CSS' started by dturnbull, Mar 19, 2006.

  1. #1
    How do I anti-alias text using CSS?
     
    dturnbull, Mar 19, 2006 IP
  2. Michael

    Michael Raider

    Messages:
    677
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    150
    #2

    There is no way to smooth text using CSS, sorry :(

    - Michael

     
    Michael, Mar 20, 2006 IP
  3. madeinEurope

    madeinEurope Well-Known Member

    Messages:
    88
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    150
    #3
    Not by "property".

    But this is used in "css painting".
    You can offset 4 lighter copies of the text, by 1 pixel in 4 directions.
    That should be done only with short texts – large letters, or just words. If ever :)
     
    madeinEurope, Apr 8, 2006 IP
  4. penagate

    penagate Guest

    Messages:
    277
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just a note

    If you use the technique described by MadeInEurope, and view the page minus stylesheet, you will see the text multiple times. This is of course undesirable :)

    So if it matters that much, use an image. Just remember to provide alt text ;)

    - P
     
    penagate, Apr 9, 2006 IP
  5. phd

    phd Active Member

    Messages:
    496
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    60
    #5
    I suggest you to go with image, otherwise there will be lots of problem handling if we go the technique described by MadeInEurope. However the technique is appreciated.
     
    phd, Apr 10, 2006 IP
  6. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #6
    apparently internet explorer 7 does this
     
    Dekker, Apr 10, 2006 IP
  7. forkqueue

    forkqueue Guest

    Messages:
    401
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Anti-aliasing text should be done by the operating system. The text on any website I read is anti-aliased (I'm running Firefox under Ubuntu Linux), and I'm pretty sure even Windows does anti-aliasing on fonts now.
     
    forkqueue, Apr 11, 2006 IP