SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Zealot
    Join Date
    Oct 2002
    Posts
    130
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS to make a font thin and tall?

    can i use css to make my font stretched tall? i want to make fonts taller but keep the width the same. i've tried things like letter-height:20px, but with no success [img]images/smilies/frown.gif[/img]

  2. #2
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think you can stretch letters like that
    An alternative could be; add the text to an image, and stretch the image - but this is of course bad design (using images for texts)



    the311guy == using Windows 3.11?

  3. #3
    SitePoint Zealot
    Join Date
    Oct 2002
    Posts
    130
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no im still using Windows 2.08

  4. #4
    Former Staff Member silver trophy Adam P.'s Avatar
    Join Date
    Apr 2001
    Location
    San Francisco
    Posts
    3,288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure about keeping the width the same and making it taller, but you can make the width smaller and keep the height the same using the font-stretch property. I've never used it, so I'm not sure how well it works, but try it out and let us know! [img]images/smilies/smile.gif[/img]
    SPF Mentor/Advisor 2001-2003
    SPF Designer of the Year 2002
    SPF Graphic Designer of the Year 2003
    AdamPolselli.com

  5. #5
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, according to the table, NN and IE don't support font-stretch...

  6. #6
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by jofa
    the311guy == using Windows 3.11? [img]images/smilies/biggrin.gif[/img]
    Or maybe a fan of the band 311?

  7. #7
    SitePoint Zealot
    Join Date
    May 2003
    Location
    London
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    according to what table jofa?

  8. #8
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by benji
    according to what table jofa?
    The one in Adam P's post:
    http://www.w3schools.com/css/pr_font_font-stretch.asp

  9. #9
    SitePoint Zealot
    Join Date
    May 2003
    Location
    London
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    doh!! sorry jofa, i missed that some how

  10. #10
    SitePoint Zealot
    Join Date
    Oct 2002
    Posts
    130
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vgarcia
    Or maybe a fan of the band 311?
    bing! bing! bing! :]


    IE and NS dont support it...




    ...



    ....


    :|


Bookmarks

Posting Permissions

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