Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
2523
The font-weight property (CSS Reference)
Introduction
The font-weight property can be used to set the weight of
the characters. It means that you can decide how thick or thin the chars should
be.
Example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN"
This is the default value and it is equal to 400 on the
numeric scale. This value can be useful if you want to make sure that no
previous values effect on the current element.
bold
This value can be used to make the chars appear in bold.
It is equal to the HTML’s <b> tag and 700 on the numeric scale.
bolder
This is used to determine the next bolder value for the
text. If the previous value was 900, it will remain 900. If no previous value
exists, it will simply use the next bolder numerical value.
lighter
This is used to set the next lighter weight for the text
than the previous one. If the previous value was 100 then it will remain 100.
If no previous value exists, it will simply use the next lighter numerical
value.
100 to 900
These values can be used to set the next bolder or lighter
level of the text. Each increased value will be darker than the previous one
and each decreased value will be lighter than the previous one. Note that 400
is considered as normal and 700 as bold.