CSS Properties and Syntax
The following attributes can be styled by CSS:
Alignment
Font
Border
Color
The table below lists the available properties and values.
Property |
Available Values |
text-align |
'left', 'right', 'center' |
vertical-align |
'top', 'middle', 'bottom' |
word-wrap |
'normal', 'break-word' |
font-style |
'normal', 'italic' |
font-weight |
'normal', 'bold' |
font-size |
'xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large', or size in pixels |
font-family |
Font name |
font |
Shortcut: font-style font-weight font-size font-family |
text-decoration |
'none', 'underline', 'line-through' |
color |
Color value (hex, rgb, color string) |
background-color |
Color value (hex, rgb, color string) or 'transparent' |
opacity |
Float in range [0, 1] |
border-style |
Line style: 'none', 'dotted', 'dashed', 'solid', 'double' Single value applies to all borders |
border-top-style border-right-style border-bottom-style border-left-style |
Line style: 'none', 'dotted', 'dashed', 'solid', 'double' |
border-color |
Color value (hex, rgb, or color string) Single value applies to all borders, or Four-values (top right bottom left), or Two values (top/bottom right/left) |
| << Example: Creating and Applying CSS Styles | © 1996-2013 InetSoft Technology Corporation (v11.5) | 3.4 Using HTML in Viewsheet Text >> |