Web >> Development >> Javascript and CSS >> What are the CSS and Javascript Style properties

Names noted with an asterisk (*) are JavaScript properties only. +----------------+--------------------------------------------------------------+ | CSS |!important accelerator | | Attributes |background background-attachment | | and |background-color background-image | | JavaScript |background-position background-position-x | | Style |background-positiony background-repeat | | Properties |behavior border | | |border-bottom border-bottom-color | | |border-bottom-style border-bottom-width | | |border-color border-left | | |border-left-color border-left-style | | |border-left-width border-right | | |border-right-color border-right-style | | |border-right-width border-style | | |border-top border-top-color | | |border-top-style border-top-width | | |border-width bottom | | |clear clip | | |color cursor | | |direction display | | |filter float | | |font font-family | | |font-size font-style | | |font-variant font-weight | | |hasLayout(*) height | | |layout-flow layout-grid | | |layout-grid-mode left | | |letter-spacing line-height | | |margin margin-bottom | | |margin-left margin-right | | |margin-top overflow | | |overflow-x overflow-y | | |padding padding-bottom | | |padding-left padding-right | | |padding-top pixelBottom(*) | | |pixelHeight(*) pixelLeft(*) | | |pixelRight(*) pixelTop(*) | | |pixelWidth(*) posBottom(*) | | |posHeight(*) position | | |posLeft(*) posRight(*) | | |posTop(*) posWidth(*) | | |right styleFloat(*) | | |text-autospace text-decoration | | |text-overflow text-transform | | |text-underline-position textDecorationBlink(*) | | |textDecorationLineThrough(*) textDecorationNone(*) | | |textDecorationOverline(*) textDecorationUnderline(*) | | |top unicode-bidi | | |visibility white-space | | |width word-spacing | | |word-wrap writing-mode | | |z-index zoom | +----------------+--------------------------------------------------------------+