## PD4ML

#### Supported CSS properties.

#

This information is not obliging.

Name | Supported | Values (N – not supported) | Initial value | Comments
'background-attachment' | N |  |  |
'background-color' | Y | <color> transparent | transparent |
'background-image' | Y | <uri> none | none |
'background-position' | Y | <length> <length> <percentage> <percentage> N | 0 0 |
'background-repeat' | Y | repeat repeat-x repeat-y no-repeat scale-x (PD4ML specific) scale-y (PD4ML specific) | repeat |
'background' | Y | 'background-color' 'background-image' 'background-repeat' 'background-attachment' N 'background-position' |  |
'border-collapse' | Y | collapse separate | separate |
'border-color' | Y | <color> transparent |  |
'border-spacing' | N |  |  | use <table cellspacing=“...“> instead
'border-style' | Y | <border-style>{1,4} |  |
'border-top' 'border-right' 'border-bottom' 'border-left' | Y | <border-width> || <border-style> || 'border-top-color' |  |
'border-top-color' 'border-right-color' 'border-bottom-color' 'border-left-color' | Y | <color> transparent |  |
'border-top-style' 'border-right-style' 'border-bottom-style' 'border-left-style' | Y | <border-style> |  |
'border-top-width' 'border-right-width' 'border-bottom-width' 'border-left-width' | Y | <border-width> |  |
'border-width' | Y | <border-width>{1,4} |  |
'border' | Y | <border-width> || <border-style> || 'border-top-color' |  |
'bottom' | Y |  |  | since v381
'caption-side' | N |  |  |
'clear' | Y |  |  | since v350
'clip' | Y |  |  | since v350
'color' | Y | <color> |  |
'direction' | N |  |  |
'display' | Y | inline N block N list-item N run-in N inline-block N table N inline-table N table-row-group N table-header-group N table-footer-group N table-row N table-column-group N table-column N table-cell N table-caption N none |  | 'none' allows to hide block elements only
'empty-cells' | Y | show hide | hide |
'float' | Y | left right |  | works for images, tables, DIVs
'font-family' | Y | [[ <family-name> | <generic-family> ] [, <family-name>| <generic-family>]* ] | |  |
'font-size' | Y | <absolute-size> <relative-size> <length> <percentage> | medium |
'font-style' | Y | normal italic oblique | normal |
'font-variant' | N |  | normal |
'font-weight' | Y | normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | | normal |
'font' | Y | [ [ 'font-style' || 'font-variant' || 'font-weight' ]? 'font-size' [ / 'line-height' ]? 'font-family' ] | caption N icon N menu N message-box N small-caption N status-bar N |  |
'height' | Y | <length> <percentage> auto | auto | for some block elements only
'left' | Y |  | auto | since v350
'letter-spacing' | N |  | normal |
'line-height' | Y | normal <number> <length> <percentage> | normal |
'list-style-image' | N |  | none |
'list-style-position' | N |  | outside |
'list-style-type' | Y | disc circle square decimal decimal-leading-zero N lower-roman upper-roman lower-greek N lower-latin N upper-latin N armenian N georgian N lower-alpha upper-alpha none |  |
'list-style' | Y |  |  | interprets only 'list-style-type' token
'margin-right' 'margin-left' | Y | <margin-width> | 0 |
'margin-top' 'margin-bottom' | Y | <margin-width> | 0 |
'margin' | Y | <margin-width>{1,4} |  |
'orphans' | N |  |  |
'outline' | N |  |  |
'overflow' | Y | visible hidden scroll N auto | visible |
'padding-top' 'padding-right' 'padding-bottom' 'padding-left' | Y | <padding-width> | 0 |
'padding' | Y | <padding-width>{1,4} |  |
'page-break-after' | Y | auto always avoid N left N right N | auto | in development
'page-break-before' | Y | auto always avoid N left N right N | auto | in development
'page-break-inside' | Y | avoid auto | auto | <table>, <tr> and some block elements
'position' | Y |  |  | since v350
'quotes' | N |  |  |
'right' | Y |  | auto | since v381
'table-layout' | Y | auto fixed N | auto | 'table' elements
'text-align' | Y | left right center justify |  | block-level elements, table cells and inline blocks
'text-decoration' | Y | none underline overline line-through blink N | none |
'text-indent' | Y | <length> <percentage> |  |
'text-transform' | Y | capitalize uppercase lowercase none | none |
'top' | Y |  |  | since v350
'unicode-bidi' | N |  |  |
'vertical-align' | Y | baseline sub super top text-top middle bottom text-bottom <percentage> <length> | baseline | inline-level and 'table-cell' elements
'visibility' | Y | visible hidden collapse N | visible |
'white-space' | Y | normal pre nowrap pre-wrap N pre-line N | normal |
'widows' | N |  |  |
'width' | Y | <length> <percentage> auto | auto | all elements but non-replaced inline elements and table rows
'word-spacing' | N |  |  |
'word-wrap' | Y | break-word normal | normal |
'z-index' | Y |  |  | since v350
PD4ML-specific properties
'pd4ml-visibility' | Y | visible hidden | visible | The property is identical to 'visibility', but known only to PD4ML. It makes possible to disable some elements to appear in resulting PDF. See description
'pd4ml-display' | Y | none |  | The property is identical to 'display', but known only to PD4ML. It makes possible to disable some elements to appear in resulting PDF. See description
'pd4toc' | Y | nopagenum |  | See description |
'pd4ml-bookmark-visibility' | Y | hidden | visible | See description |
'pd4ml-page-break-border-top' | Y | <border-width> || <border-style> || 'border-top-color' |  | See description |
'pd4ml-page-break-border-bottom' | Y | <border-width> || <border-style> || 'border-top-color' |  | See description |