CSS Styles List Table

CSS1 Icon : Is CSS1

CSS2 Icon : Is CSS2.

Note: Internet Explorer supports some property only if a !DOCTYPE is specified.

The numbers in the table specify the first browser version that fully supports the property.

Property Description
backgroundCSS 1 Icon A shorthand property for setting all the background properties in one declaration. 1.0 4.0 1.0 3.5 1.0
background-attachmentCSS 1 Icon Sets whether a background image is fixed or scrolls with the rest of the page. 1.0 4.0 1.0 3.5 1.0
background-colorCSS 1 Icon Specifies the background color of an element. 1.0 4.0 1.0 3.5 1.0
background-imageCSS 1 Icon Specifies one or more background images for an element. 1.0 4.0 1.0 3.5 1.0
background-positionCSS 1 Icon Specifies the position of a background image. 1.0 4.0 1.0 3.5 1.0
background-repeatCSS 1 Icon Sets how a background image will be repeated. 1.0 4.0 1.0 3.5 1.0
borderCSS 1 Icon Sets all the border properties in one declaration. 1.0 4.0 1.0 3.5 1.0
border-bottomCSS 1 Icon Sets all the bottom border properties in one declaration. 1.0 4.0 1.0 3.5 1.0
border-bottom-colorCSS 1 Icon Sets the color of the bottom border. 1.0 4.0 1.0 3.5 1.0
border-bottom-styleCSS 1 Icon Sets the style of the bottom border. 1.0 4.0 1.0 3.5 1.0
border-bottom-widthCSS 1 Icon Sets the width of the bottom border. 1.0 4.0 1.0 3.5 1.0
border-collapseCSS 2 Icon Specifies whether or not table borders should be collapsed. 1.0 5.0 1.0 4.0 1.2
border-colorCSS 1 Icon Sets the color of the four borders. 1.0 4.0 1.0 3.5 1.0
border-leftCSS 1 Icon Sets all the left border properties in one declaration. 1.0 4.0 1.0 3.5 1.0
border-left-colorCSS 1 Icon Sets the color of the left border. 1.0 4.0 1.0 3.5 1.0
border-left-styleCSS 1 Icon Sets the style of the left border. 1.0 4.0 1.0 3.5 1.0
border-left-widthCSS 1 Icon Sets the width of the left border. 1.0 4.0 1.0 3.5 1.0
border-rightCSS 1 Icon Sets all the right border properties in one declaration. 1.0 4.0 1.0 3.5 1.0
border-right-colorCSS 1 Icon Sets the color of the right border. 1.0 4.0 1.0 3.5 1.0
border-right-styleCSS 1 Icon Sets the style of the right border. 1.0 4.0 1.0 3.5 1.0
border-right-widthCSS 1 Icon Sets the width of the right border. 1.0 4.0 1.0 3.5 1.0
border-spacingCSS 2 Icon Specifies the distance between the borders of adjacent cells (separated borders model). 1.0 8.0 1.0 4.0 1.0
border-styleCSS 1 Icon Sets the style of the four borders. 1.0 4.0 1.0 3.5 1.0
border-style-colorCSS 1 Icon Sets the style of the top border. 1.0 4.0 1.0 3.5 1.0
border-topCSS 1 Icon Sets all the top border properties in one declaration. 1.0 4.0 1.0 3.5 1.0
border-top-colorCSS 1 Icon Sets the color of the top border. 1.0 4.0 1.0 3.5 1.0
border-widthCSS 1 Icon Sets the width of the four borders. 1.0 4.0 1.0 3.5 1.0
border-width-colorCSS 1 Icon Sets the width of the top border. 1.0 4.0 1.0 3.5 1.0
bottomCSS 2 Icon Specifies the bottom position of a positioned element. 1.0 5.0 1.0 6.0 1.0
caption-sideCSS 2 Icon Specifies the placement of a table caption. 1.0 8.0 1.0 4.0 1.0
clearCSS 1 Icon Specifies which sides of an element where other floating elements are not allowed. 1.0 5.0 1.0 6.0 1.0
clipCSS 2 Icon Clips an absolutely positioned element. 1.0 8.0 1.0 7.0 1.0
colorCSS 1 Icon Sets the color of text. 1.0 3.0 1.0 3.5 1.0
contentCSS 2 Icon Used with the :before and :after pseudo-elements, to insert generated content. 1.0 8.0 1.0 4.0 1.0
counter-incrementCSS 2 Icon Increments one or more counters. 4.0 8.0 1.0 4.0 1.0
counter-resetCSS 2 Icon Creates or resets one or more counters. 4.0 8.0 2.0 9.6 3.1
cursorCSS 2 Icon Specifies the type of cursor to be displayed. 5.0 5.5 4.0 9.6 5.0
directionCSS 2 Icon Specifies the text direction/writing direction. 2.0 5.5 1.0 9.2 3.1
displayCSS 1 Icon Specifies how a certain HTML element should be displayed. 4.0 8.0 3.0 7.0 3.1
empty-cellsCSS 2 Icon Specifies whether or not to display borders and background on empty cells in a table. 1.0 8.0 1.0 4.0 1.2
floatCSS 1 Icon Specifies whether or not a box should float. 1.0 4.0 1.0 7.0 1.0
fontCSS 1 Icon Sets all the font properties in one declaration. 1.0 4.0 1.0 3.5 1.0
font-familyCSS 1 Icon Specifies the font family for text. 1.0 4.0 1.0 3.5 1.0
font-sizeCSS 1 Icon Specifies the font size of text. 1.0 5.5 1.0 7.0 1.0
font-styleCSS 1 Icon Specifies the font style for text. 1.0 4.0 1.0 7.0 1.0
font-variantCSS 1 Icon pecifies whether or not a text should be displayed in a small-caps font. 1.0 4.0 1.0 3.5 1.0
font-weightCSS 1 Icon Specifies the weight of a font. 2.0 4.0 1.0 3.5 1.3
heightCSS 1 Icon Sets the height of an element. 1.0 4.0 1.0 7.0 1.0
leftCSS 2 Icon Specifies the left position of a positioned element. 1.0 5.5 1.0 5.0 1.0
letter-spacingCSS 1 Icon Increases or decreases the space between characters in a text. 1.0 4.0 1.0 3.5 1.0
line-heightCSS 1 Icon Sets the line height. 1.0 4.0 1.0 7.0 1.0
list-styleCSS 1 Icon Sets all the properties for a list in one declaration. 1.0 4.0 1.0 7.0 1.0
list-style-imageCSS 1 Icon Specifies an image as the list-item marker. 1.0 4.0 1.0 7.0 1.0
list-style-positionCSS 1 Icon Specifies if the list-item markers should appear inside or outside the content flow. 1.0 4.0 1.0 3.5 1.0
list-style-typeCSS 1 Icon Specifies the type of list-item marker. 1.0 4.0 1.0 3.5 1.0
marginCSS 1 Icon Sets all the margin properties in one declaration. 1.0 6.0 1.0 3.5 1.0
margin-bottomCSS 1 Icon Sets the bottom margin of an element. 1.0 6.0 1.0 3.5 1.0
margin-leftCSS 1 Icon Sets the left margin of an element. 1.0 6.0 1.0 3.5 1.0
margin-rightCSS 1 Icon Sets the right margin of an element. 1.0 6.0 1.0 3.5 1.0
margin-topCSS 1 Icon Sets the top margin of an element. 1.0 6.0 1.0 3.5 1.0
max-heightCSS 2 Icon Sets the maximum height of an element. 1.0 7.0 1.0 7.0 2.0
max-widthCSS 2 Icon Sets the maximum width of an element. 1.0 7.0 1.0 7.0 2.0
min-heightCSS 2 Icon Sets the minimum height of an element. 1.0 7.0 1.0 7.0 2.0
min-widthCSS 2 Icon Sets the minimum width of an element. 1.0 7.0 1.0 7.0 2.0
outlineCSS 2 Icon Sets all the outline properties in one declaration. 1.0 8.0 1.5 7.0 1.2
outline-colorCSS 2 Icon Sets the color of an outline. 1.0 8.0 1.5 7.0 1.2
outline-styleCSS 2 Icon Sets the style of an outline. 1.0 8.0 1.5 7.0 1.2
outline-widthCSS 2 Icon Sets the width of an outline. 1.0 8.0 1.5 7.0 1.2
overflowCSS 2 Icon Specifies what happens if content overflows an element's box. 1.0 4.0 1.0 7.0 1.0
paddingCSS 1 Icon Sets all the padding properties in one declaration. 1.0 4.0 1.0 3.5 1.0
padding-bottomCSS 1 Icon Sets the bottom padding of an element. 1.0 4.0 1.0 3.5 1.0
padding-leftCSS 1 Icon Sets the left padding of an element. 1.0 4.0 1.0 3.5 1.0
padding-rightCSS 1 Icon Sets the right padding of an element. 1.0 4.0 1.0 3.5 1.0
padding-topCSS 1 Icon Sets the top padding of an element. 1.0 4.0 1.0 3.5 1.0
page-break-afterCSS 2 Icon Sets the page-breaking behavior after an element. 1.0 4.0 1.0 7.0 1.2
page-break-beforeCSS 2 Icon Sets the page-breaking behavior before an element. 1.0 4.0 1.0 7.0 1.2
page-break-insideCSS 2 Icon Sets the page-breaking behavior inside an element. 1.0 8.0 19.0 7.0 1.3
positionCSS 2 Icon Specifies the type of positioning method used for an element. 1.0 7.0 1.0 4.0 1.2
quotesCSS 2 Icon Sets the type of quotation marks for embedded quotations 11.0 8.0 1.5 4.0 5.1
rightCSS 2 Icon Specifies the right position of a positioned element. 1.0 5.5 1.5 5.0 1.0
table-layoutCSS 2 Icon Sets the layout algorithm to be used for a table. 14.0 5.0 1.0 7.0 1.0
text-alignCSS 1 Icon Specifies the horizontal alignment of text. 1.0 3.0 1.0 3.5 1.0
text-decorationCSS 1 Icon Specifies the decoration added to text. 1.0 3.0 1.0 3.5 1.0
text-indentCSS 1 Icon Specifies the indentation of the first line in a text-block. 1.0 3.0 1.0 3.5 1.0
topCSS 2 Icon Specifies the top position of a positioned element. 1.0 5.0 1.0 6.0 1.0
vertical-alignCSS 1 Icon Sets the vertical alignment of an element. 1.0 4.0 1.0 4.0 1.0
visibilityCSS 2 Icon Specifies whether or not an element is visible. 1.0 5.0 1.0 6.0 1.0
white-spaceCSS 1 Icon Specifies how white-space inside an element is handled. 1.0 8.0 3.5 9.5 3.0
widthCSS 1 Icon Sets the width of an element. 1.0 4.0 1.0 3.5 1.0
word-spacingCSS 1 Icon Increases or decreases the space between words in a text. 1.0 6.0 1.0 3.5 1.0
z-indexCSS 2 Icon Sets the stack order of a positioned element. 1.0 .0 3.0 4.0 1.0