A Tutorial on CSS
Introduction
CSS-A latest web authoring technology that
promises to make the Web a better place by
allowing
Better layout control
to make smaller, faster pages,
and to easily maintain many pages at once.
All this is possible by using simple, browser
understandable CSS tags
Features of CSS
Better Control over
Fonts
Text alignment
Colors and Images
Positioning and Layering
Fonts
Font family
Size
Style(bold,italics)
Special effects
Text alignment
word-spacing
letter-spacing
line-height
text-align
vertical-align
text-indent
Colors and Images
color
background-color
background-image
background-attachment
background-position
Positioning and layering.
position -left top width height
overflow
visibility
clip
z-index
Adding CSS to WebPages
Embed a stylesheet within the
HTML document.
Link to an external stylesheet from
the HTML document.
Import an external stylesheet into
the HTML document
Add styles inline in the HTML
document
Advantages of CSS
Separates form and structure.
More precise control over layout, fonts, colors,
backgrounds, and other typographical effects
A way to update the appearance and
formatting of any number of pages by
changing just one document
Compatibility across browsers and platforms
Less code, smaller pages, and faster
downloads.