您的位置:寻梦网首页编程乐园CSS 初步CSS Chart
Resources - CSS Chart 3

Cascading Style Sheet Chart

  1. Background css - Page1
  2. Border - Page1
  3. Classification - Page2
  4. Dimension - Page2
  5. Font - Page2
  6. List - Page2
  7. Margin - Page2
  8. Padding - Page3
  9. Positioning - Page3
  10. Text - Page3

Padding

Property Values Description NS IE
padding padding-top
padding-right
padding-bottom
padding-left
Sets the padding properties in one statement 4.0 4.0

padding-bottom

length
%
Sets the bottom padding of an element 4.0 4.0

padding-left

length
%
Sets the left padding of an element 4.0 4.0

padding-right

length
%
Sets the right padding of an element   4.0
padding-top length
%
Sets the top padding of an element 4.0 4.0
go back to top


Positioning

Property Values Description NS IE
bottom auto
%
length
Sets where the bottom of an element should be positioned   5.0
clip shape
auto
Sets the shape of an element. The element is clipped into this shape, and displayed   4.0
left auto
%
length
Sets where the left side of an element should be positioned 4.0 4.0
overflow visible
hidden
scroll
auto
Sets what happens if the content of an element does not fit into its area   4.0
right auto
%
length
Sets where the right side of an element should be positioned   5.0
top auto
%
length
Sets where the top of an element should be positioned 4.0 4.0
vertical-align baseline
sub
super
top
text-top
middle
bottom
text-bottom
%
Aligns an element vertically 4.0 4.0
z-index auto
number
Sets the stack order of an element   4.0
go back to top


Text

Property Values Description NS IE
color color Sets the color of a text 4.0 4.0
letter-spacing normal
length
Increases or decreases the space between characters   4.0
text-align left
right
center
justify
Aligns the text in an element 4.0 4.0
text-decoration none
underline
overline
line-through
blink
Adds decoration to text 4.0 4.0
text-indent length
%
Indents the first line of text in an element 4.0 4.0
text-transform none
capitalize
uppercase
lowercase
Controls the letters in an element 4.0 4.0
white-space normal
pre
nowrap
Sets how white space inside an element is handled 4.0  
word-spacing normal
length
Increases or decreases the space between words