HTML and CSS Reference
In-Depth Information
JSS property
CSS property
See section
paddingTop
padding-top
8.4.7.12
textDecoration
text-decoration
8.4.6.4
textTransform
text-transform
8.4.6.7
textAlign
text-align
8.4.6.3
textIndent
text-indent
8.4.6.5
verticalAlign
vertical-align
8.4.6.7
whiteSpace
white-space
8.4.10.2
width
width
8.4.7.16
JSS also defines three methods that allow you to define margins, pad-
ding, and border widths within a single style property. The three meth-
ods, margins() , paddings() , and borderWidths() , accept four parameters,
corresponding to the top, right, bottom, and left margins, padding, and
border width, respectively. Unlike their CSS counterparts ( margin , dis-
cussed in section 8.4.7.11 ; padding , discussed in section 8.4.7.12 ; and
border-width , discussed in section 8.4.7.4 ) , these JSS methods require
that you always specify all four parameters. There is no shorthand way
in JSS to set multiple margins, paddings, or border widths with a single
value.
 
Search WWH ::




Custom Search