Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Senior Member Jack000's Avatar
    Join Date
    Aug 2004
    Posts
    250
    Member #
    7173
    while I was browsing through csszengarden, I noticed that many people use fractions in the font selectors

    "font: 65%/1.5 Arial, Helvetica, sans-serif;"
    "font: normal 11px/16px Tahoma, Verdana, Arial,"

    I'm just wondering what they meant since I couldn't find anything on google..

  2.  

  3. #2
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    The first number is font size, second number is line-height.
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  4. #3
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    Code:
    font-size: 65%;
    line-height: 1.5;
    
    font-size: 11px;
    line-height: 16px;
    So in short they're two completely different values, not fractions. It's just written in a shorter form.

    on the page below, see the hyperlink titled 'All the font properties in one declaration'.
    http://www.w3schools.com/css/css_font.asp

  5. #4
    Senior Member Jack000's Avatar
    Join Date
    Aug 2004
    Posts
    250
    Member #
    7173
    oh, that clears it up.

    thx :classic:


Remove Ads

Posting Permissions

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

Search tags for this page

css font fraction

Click on a term to search for related topics.
All times are GMT -6. The time now is 12:35 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com