10 July 2009

Set CSS font-style to your text

Font-style is basically just the style for making the font italic. There is by default three settings you can use:

  • normal
  • italic
  • oblique
Zendweaves font-style

There is not much difference between italic or oblique. Both look the same. I think it's mainly there for classification. Anyway, here's the spec for font-style as by w3c:

'font-style'
    Value:           normal | italic | oblique | inherit
    Initial:           normal
    Applies to:   all elements
    Inherited:   yes
    Percentages:   N/A
    Media:           visual
    Computed value:   as specified

The 'font-style' property selects between normal (sometimes referred to as "roman" or "upright"), italic and oblique faces within a font family.

A value of 'normal' selects a font that is classified as 'normal' in the UA's font database, while 'oblique' selects a font that is labeled 'oblique'. A value of 'italic' selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'.

The font that is labeled 'oblique' in the UA's font database may actually have been generated by electronically slanting a normal font.

Fonts with Oblique, Slanted or Incline in their names will typically be labeled 'oblique' in the UA's font database. Fonts with Italic, Cursive or Kursiv in their names will typically be labeled 'italic'.

Take care
Tjorriemorrie

1 comment:

  1. www.metatron4025.com
    www.hunter4025.com
    www.hunter4025.com/hunter-4025-nls-driver-and-software-free-download
    www.laser-watch.com
    www.health-machine.org
    www.e-healthmachine.net
    www.e-healthmachine.org
    www.e-healthmachine.com
    www.health-machine.net
    www.boruhealthmachine.net
    www.boruhealthmachine.org
    www.boruhealthmachine.com
    www.shengshou.cc
    www.o-bd.org
    www.3d-nls-health-analyzer.com
    www.skintestsystem.com
    www.health-machine.com
    www.3dnlshealthanalyzer.com
    www.maikong.cc
    www.e-dentaltools.com
    www.skin-analyser.com
    www.iridologycamera.org
    www.ion-cleanser.org
    www.quantum-resonance-magnetic-analyzer.com
    www.shengshou.cc
    www.e-iphoneparts.com
    www.iris160.com
    www.iriscope.org
    www.lasertherapymachine.com
    www.monkong.net
    www.high-voltage-therapy.com
    www.skin-observed-system.com
    www.monkon.net
    www.hongmoyi.org
    www.qra-software.com
    www.healthfactory160.com
    www.healthfactory160.net
    www.healthfactory160.org
    www.8dnls.net
    www.vector-9d-nls.com
    www.skin-observed-system.com
    www.nls-software.com
    www.ipp-metatron.com
    www.veterinary-ultrasound.cc
    www.hydrogen-machine.com
    www.hair-extensions.cc
    www.monkonhair.com
    www.human-hair.org
    www.cheap-hair-extensions.net
    www.wigs-for-sale.net
    www.virgin-brazilian-hair.com
    www.cheap-hair-extensions.net
    www.virgin-indian-hair.com
    www.virgin-european-hair.com
    www.virgin-peruvian-hair.com

    ReplyDelete