The Endless Possibilities of The Css Properties

When you look at Web pages from large commercialCSS details.
sites, you see a variety of typefaces, typeAnother way that you can work with CSS is to
treatments, and even line-spacing variations.So howcreate a completely separate document on your
do the Web site creators accomplish those effects?Web server that includes all the styles you want to
They use a new and vastly improved addition touse. You can then reference that documentwithin all
Web page design called style sheets. You might bethe Web pages on your site. You may think that
familiar with the concept of style sheets fromhaving a single style definition at the top of your
working with document-processing applications likepage makes it easy to manage the layout of that
Microsoft Word, where choosing a particular stylepage. Imagine how handy it would be to have a site
produces a complex set of changes in typeface,with dozens (or hundreds!) of pages of material, all
color, size, indentation, and much more.using theappropriate div and span tags and classes.
Style sheets give you a corresponding capability asAdd to that the capability to change the style across
you design Web pages.One very importantall occurrences of a class, on all pages, with a single
characteristic of style specifications, both inedit!
applications,such as Microsoft Word, and in WebThe impact of Css upon the way developers build
documents, is that attributes are inherited.Supposeweb sites has been immense, and the possibilities
that a paragraph in your document appears inthey bring are endless. Removing most or all of the
14-point Times Roman.presentational information from an XHTML file and
Then you apply a style to a single word in theplacing it in a style sheet has many advantages,
paragraph that puts the selected word in blue.Besidesincluding reducing download size and time and huge
having the blue added, that word also inherits thebandwith saving.
typeface, typeface size, and any other attributesOne key aspect of css design is the use of divisions
from the parent style applied to the remainder of theto provide greater flexibility and mark out the regions
paragraph. In Web parlance,this is known asof our pages.Infact the element are XHTML elements
cascading (style attributes cascade down untilused to define areas of a documents in which you
something changes them). The style sheets Ill becan apply a style.
talking about are, therefore, logically called CascadingTaking control of your text requires more than just
Style Sheets and succinctly referred to as CSS.specifying one of the many available web fonts or
Because although CSS is wonderful for many things,setting font size. Css provides the conscentious
it frankly requires too much work when you want todesigner with a multitude of tools that can be applied
make just one or two simple, straightforwardto the text, bridging the gap between print and web
changes. If I want a word in bold onmy page, itsdesign and allowing for much flexibility.
usually much simpler to specify than to figure out the