Http://www.cnblogs.com/jerry-chen/archive/2010/05/24/1742615.html "Turn from"
box label and attribute control |
|
CSS syntax (case insensitive) |
JavaScript syntax (case sensitive) |
Border |
Border |
Border-bottom |
BorderBottom |
Border-bottom-color |
borderBottomColor |
Border-bottom-style |
borderBottomStyle |
Border-bottom-width |
borderBottomWidth |
Border-color |
BorderColor |
Border-left |
Borderleft |
Border-left-color |
borderLeftColor |
Border-left-style |
borderLeftStyle |
Border-left-width |
borderLeftWidth |
Border-right |
BorderRight |
Border-right-color |
borderRightColor |
Border-right-style |
borderRightStyle |
Border-right-width |
borderRightWidth |
Border-style |
BorderStyle |
Border-top |
BorderTop |
Border-top-color |
borderTopColor |
Border-top-style |
borderTopStyle |
Border-top-width |
borderTopWidth |
Border-width |
BorderWidth |
Clear |
Clear |
Float |
Floatstyle |
Margin |
Margin |
Margin-bottom |
MarginBottom |
Margin-left |
MarginLeft |
Margin-right |
MarginRight |
Margin-top |
MarginTop |
Padding |
Padding |
Padding-bottom |
Paddingbottom |
Padding-left |
Paddingleft |
Padding-right |
Paddingright |
Padding-top |
Paddingtop |
Color and background labels and attribute comparisons |
|
CSS syntax (case insensitive) |
JavaScript syntax (case sensitive) |
Background |
Background |
Background-attachment |
Backgroundattachment |
Background-color |
BackgroundColor |
Background-image |
BackgroundImage |
Background-position |
Backgroundposition |
Background-repeat |
Backgroundrepeat |
Color |
Color |
Style label and attribute control |
|
CSS syntax (case insensitive) |
JavaScript syntax (case sensitive) |
Display |
Display |
List-style-type |
listStyleType |
List-style-image |
listStyleImage |
List-style-position |
listStylePosition |
List-style |
ListStyle |
White-space |
Whitespace |
Text style labels and attribute comparisons |
|
CSS syntax (case insensitive) |
JavaScript syntax (case sensitive) |
Font |
Font |
Font-family |
FontFamily |
Font-size |
FontSize |
Font-style |
FontStyle |
Font-variant |
Fontvariant |
Font-weight |
FontWeight |
Text label and attribute comparison |
|
CSS syntax (case insensitive) |
JavaScript syntax (case sensitive) |
Letter-spacing |
Letterspacing |
Line-break |
LineBreak |
Line-height |
Lineheight |
Text-align |
TextAlign |
Text-decoration |
TextDecoration |
Text-indent |
Textindent |
Text-justify |
Textjustify |
Text-transform |
Texttransform |
Vertical-align |
VerticalAlign |
CSS and JavaScript tag comparison table