CSS reference

Style Sheets are used for adding advanced text formatting such as fonts, margins, color, borders, and spacing. You can include any of the style properties listed below to format text within your pages within the SetTextStyle command.


background-color

Sets the background color of an element.


Example

SetTextStyle (background-color: green ; )


border-color

Specifies the color for a text border.


Example

SetTextStyle (border-color: green ;border-style:solid ; border-width: 1px ; )


border-width

Set the size for a text border.


Example

SetTextStyle (border-style:solid ; border-width: 1px ; )


color

Sets the color of the element.        


Example

SetTextStyle (color: blue ; )


font-family        

Specifies the typeface to use for an element.


Example

SetTextStyle (font-family: futura, helvetica ; )


font-size        

Specifies the size of a font.


Example

SetTextStyle (font-size: 12pt ; )


font-weight        

Specifies the weight or boldness of the font.


Example

SetTextStyle (font-weight: bold ; )


line-height        

Specifies the distance between lines of text.        


Example

SetTextStyle (line-height: 12px ; )


margin-left        

Set the left margin of an element.


Example

SetTextStyle (margin-left: 20px ; )


margin-right        

Set the right margin of an element.


Example

SetTextStyle (margin-right: 20px )


padding

Specifies the padding properties for an element


Example

SetTextStyle (padding: 2pt ; )


text-align        

Aligns the element horizontally across the page.


Example

SetTextStyle (text-align: center ; )


text-decoration

Sets text decoration attributes for the element.


Example

SetTextStyle (text-decoration: underline ; )


Copyright 2017 Iason Software. All right Reserved.