CSS Properties
Standard W3C CSS Properties
| Property | Supported Values | Unsupported Values | Notes |
|---|---|---|---|
| background | |||
| background-color | |||
| background-image | |||
| background-position | |||
| background-repeat | |||
| background-size | |||
| bookmark-label | |||
| bookmark-level | |||
| bookmark-state | |||
| border | |||
| border-bottom | |||
| border-bottom-color | |||
| border-bottom-style | |||
| border-bottom-width | |||
| border-collapse | separate | collapse | ||
| border-color | |||
| border-left | |||
| border-left-color | |||
| border-left-style | |||
| border-left-width | |||
| border-right | |||
| border-right-color | |||
| border-right-style | |||
| border-right-width | |||
| border-spacing | <length> | ||
| border-style | |||
| border-top | |||
| border-top-color | |||
| border-top-style | |||
| border-top-width | |||
| border-width | |||
| bottom-property | |||
| caption-side | top|bottom | left|right | |
| color | |||
| column-span | |||
| content | |||
| counter-increment | |||
| counter-reset | |||
| direction | |||
| display | inline|block|inline-block|table|table-row|table-cell|table-caption|table-row-group|table-header-group|table-footer-group|table-column |-oxy-morph |
For the display:none, the elements are not eliminated from the DOM, are just collapsed. The text may remain in the document, but is not visible. This is needed for keeping the links working. For -oxy-morph, read more here. |
|
| empty-cells | |||
| float | |||
| font | |||
| font-family | |||
| font-size | |||
| font-src | |||
| font-style | |||
| font-variant | |||
| font-weight | |||
| height | |||
| image-resolution | <dpi> | ||
| left-property | |||
| letter-spacing | |||
| line-height | |||
| list-style | |||
| list-style-image | none|url() | ||
| list-style-position | |||
| list-style-type | |||
| margin | |||
| margin-bottom | <length> | ||
| margin-left | auto|<length> | ||
| margin-right | auto|<length> | ||
| margin-top | <length> | ||
| max-height | <length> | ||
| max-width | <length> | ||
| min-height | <length> | ||
| min-width | <length> | ||
| orphans | <number> | ||
| outline | |||
| outline-color | |||
| outline-style | |||
| outline-width | |||
| padding | |||
| padding-bottom | |||
| padding-left | |||
| padding-right | |||
| padding-top | |||
| page | |||
| page-break-after | |||
| page-break-before | |||
| page-break-inside | |||
| position | fixed|absolute | relative | The absolute positioning is done relative to the direct parent. This is a limitation - CSS specifies that you can mark a parent block with position:relative, and absolute children will be placed relative to this. |
| right-property | |||
| size | |||
| string-set | content()|counter() | ||
| table-column-span | |||
| table-layout | fixed|auto | ||
| table-row-span | |||
| text-align | start|end|left|right|center|justify|justify-all | ||
| text-decoration | |||
| text-decoration-color | |||
| text-decoration-line | |||
| text-decoration-style | |||
| text-indent | |||
| text-transform | |||
| top-property | |||
| transform | |||
| transform-rotation | |||
| unicode-bidi | |||
| vertical-align | baseline | sub | super | text-top | text-bottom | middle | top | bottom | <length>|<percentage> | |
| visibility | |||
| white-space | |||
| widows | <number> | ||
| width |
Extension CSS Properties
| Property | |
|---|---|
| -oxy-alt-text | Used to specify an alternative description for the element that is used by the
PDF readers.
image {
-oxy-alt-text: "Image about: " attr(href);
}
|
| -oxy-link | Used to create links in the PDF
output.link {
-oxy-link: attr(href);
}
|
| -oxy-pdf-meta-author | Used to forward meta-information to the PDF. Represents the author of the
publication.meta[name='author'] {
-oxy-pdf-meta-author: attr(value);
}
|
| -oxy-pdf-meta-custom | Used to forward meta-information to the PDF. Represents a generic custom document
property. Should have two strings, the name and the
value.metadata {
-oxy-pdf-meta-custom: attr(name) attr(value);
}
|
| -oxy-pdf-meta-description | Used to forward meta-information to the PDF. Represents the description of the
publication.
meta[name='description'] {
-oxy-pdf-meta-description: attr(value);
}
|
| -oxy-pdf-meta-keyword | Used to forward meta-information to the PDF. Represents a single keyword from the
publication. The processor should aggregate all keyword definitions and separate them
by
comma.keyword {
-oxy-pdf-meta-keyword: content(text);
}
|
| -oxy-pdf-meta-keywords | Used to forward meta-information to the PDF. Represents the keywords of the
publication. The value should contain the keywords separated by
commas.meta[name='keywords'] {
-oxy-pdf-meta-keywords: attr(value);
}
|
| -oxy-pdf-meta-title | Used to forward meta-information to the PDF. Represents the title of the
publication.
meta[name='title'] {
-oxy-pdf-meta-title: attr(value);
}
|
| -oxy-pdf-tag-type | Maps an element to a PDF accessibility tag.
section {
-oxy-pdf-tag-type: "Sect";
}
|
| -oxy-style | An Oxygen extension used to define additional styles for an element (for example,
collected from an attribute).
div {
font-weight:bold;
color:red;
-oxy-style:attr(style);
}
The
value of the style attribute from the div element is parsed as a collection of CSS
properties and applied over the current element styles. For instance, if the style
attribute has the value color:green; border: 1pt solid red, it will
combine with the existing properties, resulting
in:font-weight:bold;
color:green;
border: 1pt solid red
|