Development tools : XUI editor : Editing an XUI page : Editing the properties of the XUI widgets : CSS support : Setting CSS style to widgets : Supported styles in Option 2CSS files
  
Supported styles in Option 2CSS files
This table describes supported styles in Option 2CSS files for all the widgets. The value of length can be specified in px, pt, em, ex, cm, mm, and inch.
 
Style
Description
Color
the color property is used to set the color of the text. The value can be:
Hexadecimal color: #FF0000
RGB color: rgb(255,0,0)
Standard colors: aqua, black, blue, fuchsia, gray, grey, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow
Background-color
specifies the background color of an element. The value can be:
Hexadecimal color: #FF0000
RGB color: rgb(255,0,0)
Standard colors: aqua, black, blue, fuchsia, gray, grey, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow
Font
include font-family, font-size, font-style, font-weight.
The font-size can be specifies in: px, em, pt, cm, mm, inch, xx-small, x-small, small, medium, large, xx-large.
The font-style support: normal, italic.
The font-weight support: normal, bold, bolder (same as bold), lighter (same as normal), 100~500 (same as normal), 600~900 (same as bold)
Margin
the margin clears an area around an element (outside the border). The margin does not have a background color, and is completely transparent.
margin: 10px 5px 15px 20px;
Go up to
Setting CSS style to widgets