Please visit our sponsors !
CSS Examples
Background
Set the background color
Set an image as the
background
How to repeat a background
image vertically
How to repeat a background
image horizontally
How to place the
background image
A fixed background
image (this image will not scroll with the rest of the page)
All the background properties in
one declaration
Text
Set the color of the text
Specify the space between
characters
Align the text
Decorate the text
Indent text
Control the letters in a text
Font
Set the font of a text
Set the size of the font
Set the style of the font
Set the variant of the font
Set the boldness of the font
All the font properties in one
declaration
Border
Set the style of the four
borders
Set different borders on each
side
Set the color of the four
borders
Set the width of the
bottom border
Set the width of the left
border
Set the width of the
right border
Set the width of the top
border
All the bottom border properties in one declaration
All the left border properties
in one declaration
All the right border properties
in one declaration
All the top border properties in
one declaration
All the width of the border
properties in one declaration
All the border properties in one
declaration
Margin
Set the left margin of a text
Set the right margin of a
text
Set the top margin of a text
Set the bottom margin of a
text
All the margin properties in one
declaration
Padding
Set the left padding of a
tablecell
Set the right padding of a
tablecell
Set the top padding of a
tablecell
Set the bottom padding of a
tablecell
All the padding properties in one
declaration
List
The different list-item
markers in unordered lists
The different list-item
markers in ordered lists
Set an image as the
list-item marker
Place the list-item
marker
All list properties in one
declaration
Dimension
Set the height and width of an
image
Increase the space between lines
Classification
How to display an element?
Set where an image will appear in
another element
Position an element
relative to its normal position
Position all headings
relative to its normal position
Position an element with
an absolute value
How to make an element invisible
Change the cursor
Positioning
Set the shape of an element
Set the left and top position of an
element
What should happen when an
element's content is too big to fit in a specified area
Vertical alignment of an
image
Place an element "behind"
another element
Place an element "behind"
another element 2
Pseudo-classes
Add different colors to a hyperlink
Add other styles to hyperlinks
Pseudo-elements
Make the first letter special
in a text
Make the first line special in
a text
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2002 by Refsnes Data. All Rights Reserved
|