SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,745
    Mentioned
    45 Post(s)
    Tagged
    0 Thread(s)

    Short-hand "font" Properties ??

    Is there any short hand syntax for "font"

    Like how there's "border:1px #ffff00 solid;" is there a way of shortening "font" properties to one tag??

  2. #2
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.w3.org/TR/CSS21/fonts.html#font-shorthand

    Example:
    Code:
    #foo { font:italic small-caps bold small/1 serif; }
    Simon Pieters

  3. #3
    Keep Moving Forward gold trophysilver trophybronze trophy
    Shaun(OfTheDead)'s Avatar
    Join Date
    Nov 2005
    Location
    Trinidad
    Posts
    3,745
    Mentioned
    45 Post(s)
    Tagged
    0 Thread(s)
    Nice!!... Thanks, dude.


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
  •