p {
border: 10px solid black;
width: 80%;
}
The general anatomy of a CSS definition or rule
can be seen below. All parts of the definition must
be in place for the rule to work and function prop-
erly.
A CSS file is merely an entire list of these defini-
tions. There are numerous combinations of styles
and definitions you can use to style XHTML. We
will explore the idea of the cascade of styles along
with some other CSS principles in class further.
More Information on Cascading Style
Sheets
W3Schools CSS Tutorial
http://www.w3schools.com/css/
Styleguide CSS property and value encyclopedia
http://www.stylegala.com/features/css-reference
World Wide Web Consortium (W3C) O#cial CSS
Documentation
http://www.w3.org/Style/CSS/
World Wide Web Consoritum (W3C) CSS Validator
http://jigsaw.w3.org/css-validator/
An Example of the Power of CSS - CSS Zen Garden
http://csszengarden.com/
Further Information /
Questions, Comments,
etc.
If you have any questions concerning the creation
of this guide or anything included below, you may
contact the me via the following information:
Brian Talbot
Web Designer
Simmons College Web Services
300 The Fenway
Boston, MA 02115
617-521-2678
[email protected]
XHTML: Extensible Hypertext Markup Language -- Page 6