CSS level 1 support

Note

M-Business Client supports Cascading Style Sheets (CSS 1.0) in inline styles and internal style sheets. External style sheets are not currently supported.

This section details the CSS level 1 properties that are supported and not supported in M-Business Client.

Supported and non-supported properties are indicated as follows.

  • Bold text (for example, background): W3C CSS level 1 feature supported by M-Business Client

  • Plain text (for example, background-attachment): W3C CSS level 1 feature not supported by M-Business Client

Table 2. Supported CSS level 1 properties

CSS property group

Properties

Notes

Pseudo-classes and pseudo-elements

Category not supported

Contextual selectors

Category not supported

Box properties

border
border-bottom
border-bottom-width
border-color
border-left
border-left-width
border-right
border-right-width
border-style
border-top

Only solid is supported.

border-top-width
border-width

Not supported: thickness

clear
float
height

Supported only for pixels (px) as units.

margin
margin-bottom

Not supported: auto, mm.

margin-left

Not supported: auto, mm.

margin-right

Not supported: auto, mm.

margin-top

Not supported: auto, in, mm.

Values less than 1.0 must supply the leading zero (for example, 0.75, not .75).

padding
padding-bottom

Not supported: mm, pct.

padding-left

Not supported: pt.

padding-right

Not supported: mm.

padding-top

Not supported: mm, pct.

width

Classification properties

display

Not supported with tags: tbody, thead, tfoot.

list-style

Not supported: roman, upper.

list-style-image
list-style-position
list-style-type

Not supported: none.

white-space

Color and background properties

background
background-attachment
background-color

Not supported: color values fuschia, green, orange.

background-image
background-position
background-repeat 
color

Font properties

font
font-family

Supported options: serif, sans-serif, monospace. The serif option is not available on Palm OS.

Note

When M-Business Server encounters a font name in your HTML source, it converts it to one of the three supported options before sending to M-Business Client. If it does not recognize a font name, it converts it to is sans-serif.

font-size

On Palm OS, only medium (the default size) and larger are supported.

font-style

Property not supported on Palm OS.

font-variant
'font-weight'

Not supported: 100-900, lighter.

Text properties

'letter-spacing'
'line-height'

Not supported: mm, number, pt.

'text-align'
'text-decoration'
'text-indent'
'text-transform'
'vertical-align'

Not supported: bottom, cm, em, ex, pct, sub, super.

'word-spacing'