SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member AdamsHC's Avatar
    Join Date
    Aug 2004
    Location
    Lithuania
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What does it mean?

    Can anybody explain me what such syntax is supposed to mean?

    Code:
    font-size: 22px/22px;
    or
    Code:
    font-size: 10px/22px;
    Later (as I don't remember now) I'll try to add reference to site, where I had found it.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Its a shorthand way of specifying font-size followed by line-height.

    font size/line-height

    Paul
    Edit:


    I think it should only be used with the shorthand font not font-size but I haven't double checked

  3. #3
    SitePoint Member AdamsHC's Avatar
    Join Date
    Aug 2004
    Location
    Lithuania
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hm, ok, thank you for answer.


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
  •