Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

cascading style sheet complete guide to css properties (stylesheets properties reference)
 

css properties

an (almost) complete style sheet reference
style sheet text properties
property what it does possible values
letter-spacing Controls the amount of space between each letter in a section of text. normal (default)
number of pixels
line-height Controls the amount of vertical space between lines of text normal (default)
number of pixels
percentage
text-align Controls the alignment for a section of text browser decides (default)
left
right
center
text-decoration Controls what the text looks like none (default)
underline
overline
line-through
blink
text-indent Controls the indentation of the first line in a section of text 0 (default)
number of pixels
percentage
text-transform Changes the case of a section of text none (default)
uppercase
lowercase
capitalize
vertical-alignment Controls the vertical alignment of a section of text baseline (default)
sub
super
top
text-top
middle
bottom
text-bottom
word-spacing Controls the amount of space between words normal (default)
number of pixels

style sheet font properties
property what it does possible values
font-family Controls the type of font shown on the page browser decides (default)
font family name
font-size Controls the size of the font medium (default)
number of pixels
percentage
font-style Controls the style of the font normal (default)
italic
oblique
font-size Controls the size of the font medium (default)
number of pixels
percentage
font-variant Controls the variant of the font normal (default)
small-caps
font-weight Controls the boldness of the font normal (default)
lighter
bold
bolder
100
200
300
400
500
600
700
800
900

style sheet color and background properties
property what it does possible values
color Controls the color of the text browser decides (default)
color name
background-attachment Controls the scrolling of the background scroll (default)
fixed
background-color Controls the color of the background transparent (default)
color name
background-image Allows you to set a background image none (default)
image url
background-repeat Allows different patterns of background repetition repeat (default)
repeat-x
repeat-y
no-repeat
background-position Controls the position of the background on the page 0% 0% (default)
postion in pixels ie {20,20}
percentage ie {5%,7%}
top
bottom
left
right
center

style sheet box properties
property what it does possible values
width Controls the width of a section auto (default)
number of pixels
percentage
height Controls the height of a section auto (default)
number of pixels
percentage
border-color Controls the border color of a section default text color (default)
color name
border-style Controls the style of a border none (default)
solid
double
border-width Controls the width of a border undefined (default)
number of pixels
thin
medium
thick
border-top-width Controls the width of a border side medium (default)
number of pixels
thin
thick
border-left-width Controls the width of a border side medium (default)
number of pixels
thin
thick
border-right-width Controls the width of a border side medium (default)
number of pixels
thin
thick
border-bottom-width Controls the width of a border side medium (default)
number of pixels
thin
thick
margin-top Controls the width of a margin from the specified side 0 (default)
number of pixels
percentage
margin-left Controls the width of a margin from the specified side 0 (default)
number of pixels
percentage
margin-right Controls the width of a margin from the specified side 0 (default)
number of pixels
percentage
margin-bottom Controls the width of a margin from the specified side 0 (default)
number of pixels
percentage
padding-top Controls the amount of padding from the specified side 0 (default)
number of pixels
percentage
padding-left Controls the amount of padding from the specified side 0 (default)
number of pixels
percentage
padding-right Controls the amount of padding from the specified side 0 (default)
number of pixels
percentage
padding-bottom Controls the amount of padding from the specified side 0 (default)
number of pixels
percentage
float Controls the floating of a section none (default)
left
right
clear Defines whether a section disallows other sections on its sides none (default)
left
right

style sheet classification properties
property what it does possible values
white-space Controls the white space formatting of a section normal (default)
pre
nowrap
display Controls the display of a section block (default)
inline
list-item
none
visiblity Controls the visibility of an element inherit (default)
visible
hidden
z-index Controls the layering of an element auto (default)
number

home
home

next: return home
previous: stylesheets html lists

html tutorial css tutorial javascript webmaster articles link exchange

css tutorial