Tech Musings

Back to font basics

Now that we've made a pretty thorough tour of customizing your Blog page (and we have great tool from shipscript), let's backtrack and look at some areas we glossed over on the first pass. First, styling on fonts. The available properties are:

font-family (the name of the font you want, e.g.Times, Courier, sans-serif)

font-size This can take several value forms:

  •  a clothing-style size (xx-small, small, medium, large)
  • the words "larger" or "smaller" to get a font bigger or smaller than the one you currently have
  • a percentage (e.g. 150% of the current size)
  • a number plus a units designator (e.g 12pt, 1.5em, 1pc (pica), 12px (pixels on a screen),  .3in (inches), .1cm, 25mm (centimeters/millimeters)

font-style (normal, italic, or oblique)

font-variant (normal, small caps)

font-weight This can take several value forms:

  • normal
  • bold
  • bolder
  • lighter
  • 100, 200, 300,...900 for increasing density. 400=normal, 700=bold

font-stretch Values are:

  • normal
  • wider
  • narrower
  • ultra-condensed
  • extra-condensed
  • condensed
  • semi-condensed
  • semi-expanded
  • expanded
  • extra-expanded
  • ultra-expanded

If you can't find something among the above to make your fonts distinctive then I fear you are out of luck. :-) I used a style of font-size:x-large;font-stretch:ultra-expanded;font-style:oblique;font-variant:small-caps;font-weight:900

This is fairly distinctive text.

Happy fonting!

"I am an eBay employee. The opinions expressed in my blog are my own, and not eBay's."

About eBay | Announcements | Security Center | eBay Toolbar | Policies | Government Relations | Site Map | Help
Copyright © 1995-2008 eBay Inc. All Rights Reserved. Designated trademarks and brands are the property of their respective owners. Use of this Web site constitutes acceptance of the eBay User Agreement and Privacy Policy.
eBay official time