JavaScript CSS Style Property Comparison table

Source: Internet
Author: User
Tags comparison table

JavaScript CSS Style Property Comparison table

display case insensitive) case insensitive) case insensitive)
box label and attribute control
CSS Syntax ( 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 ( 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 property control
CSS Syntax (case insensitive) javascript syntax (case-sensitive)
list-style-type liststyletype
List -style-image liststyleimage
list-style-position liststyleposition
List-style liststyle
white-space whitespace
Text style label and attribute control
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 ( 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

JavaScript CSS Style Property Comparison table

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.