Lasses CSS guide
This document collects some information about css that I have used when
formatting text in some of my web pages. The first place to look at is
W3 consortium that have a lot
of links to useful material.
First an example
First a standard example that illustrates the words
selector
, property name
, and
value
. The selector is tells on what the style should work upon
body <- selector
{
font-family: Verdana, "Minion Web", Helvetica, sans-serif; <- property name: value
font-size: 1em; <- property name: value
text-align:justify;
}
Collection of selectors
h1 | h2 | h3 | h4 | h5 | h6
|
a | a:hover | a:link
|
Collection of property names
font-family | font-size | font-weight | font-style
|
text-align | | | | |
|
margin-top | border | border-width | padding
|
color | background-color | background
|
Lars Eriksson
Last modified: Tue Mar 19 10:05:13 Västeuropa, normaltid 2002