Prince - CSS Properties (original) (raw)
Below are all of the CSS properties supported by Prince 6.0. For their precise definitions please refer to the CSS specifications.
* properties marked with an asterisk are Prince extensions.
background-attachment || background-color || background-image || background-position || background-repeat
scroll | fixed
color
none | url(filename)
dpi | normal | auto [ , normal | dpi ]?
left || right || top || bottom || center || length || percent
repeat | repeat-x | repeat-y | no-repeat
length
none | content
none | integer
open | closed
self | url(target-url) | attr(target-attr)
color || border-style || border-width
color || border-style || border-width
color
none | hidden | solid | dashed | dotted | double | groove | ridge | inset | outset
thin | medium | thick | length
separate | collapse
color {1..4}
color || border-style || border-width
color
none | hidden | solid | dashed | dotted | double | groove | ridge | inset | outset
thin | medium | thick | length
length {1..2}
length {1..2}
length {1..2}
length {1..2}
length {1..2}
color || border-style || border-width
color
none | hidden | solid | dashed | dotted | double | groove | ridge | inset | outset
thin | medium | thick | length
length {1..2}
border-style {1..4}
color || border-style || border-width
color
none | hidden | solid | dashed | dotted | double | groove | ridge | inset | outset
thin | medium | thick | length
border-width {1..4}
auto | length | percent
first | following | all
top | bottom
none | left | right | inside | outside | both
auto | rect(offset, offset, offset, offset)
color
auto | always
auto | always
number
auto | balance
length
column-rule-color || column-rule-style || column-rule-width
color
none | solid | dashed | dotted
thin | medium | thick | length
auto | width
column-count | column-width
normal | flow(name, page-policy?) | [ "string" | url(filename) | counter(name, counter-style?, page-policy?) | counters(name, "separator", counter-style?, page-policy?) | target-counter(url, counter, counter-style?) | target-counters(url, counter, "separator", counter-style?) | target-content(url) | leader("...") | string(ident, page-policy?) | content() ]+
none | [ name number? ]+
none | [ name number? ]+
inline | block | none | list-item | run-in | table | table-header-group | table-footer-group | table-row-group | table-row | table-cell | table-caption | table-column | table-column-group | inline-block | inline-table | prince-footnote | prince-column-footnote
show | hide
none | left | right | inside | outside | top | bottom | top-next | bottom-next | prince-column-top | prince-column-bottom | prince-top-if-necessary | prince-bottom-if-necessary | prince-column-top-if-necessary | prince-column-bottom-if-necessary
flow*
normal | static(name, start | current?)
font-style?font-variant?font-weight?font-size [ / line-height ]?font-family
[ serif | sans-serif | monospace | name | "name" ]+
length | smaller | larger | xx-small | x-small | small | medium | large | x-large | xx-large
ultra-condensed | extra-condensed | condensed | semi-condensed | normal | semi-expanded | expanded | extra-expanded | ultra-expanded | wider | narrower
normal | italic
normal | small-caps
normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
outside | inside
auto | length | percent
none | manual | auto
none | url(patterns-url)
integer
integer
no-limit | integer
dpi | normal | auto [ , normal | dpi ]?
auto | length | percent
normal | length
inline-line-height | block-line-height | max-height | grid-height
normal | none | number | length
link*
none | url(target-url) | attr(target-attr)
list-style-image || list-style-position || list-style-type
none | url(image-url)
outside | inside
disc | hyphen | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-alpha | upper-alpha | lower-hexadecimal | upper-hexadecimal | binary | octal | asterisks | lower-greek | upper-greek | lower-norwegian | upper-norwegian | lower-russian | upper-russian | lower-ukrainian | upper-ukrainian | lower-belarusian | upper-belarusian | lower-bulgarian | upper-bulgarian | lower-serbian | upper-serbian
[ auto | length | percent ] {1..4}
auto | length | percent
auto | length | percent
auto | length | percent
auto | length | percent
auto | length | percent
auto | length | percent
none || crop || cross
none | length | percent
none | length | percent
length | percent
length | percent
number
integer
visible | hidden
[ length | percent ] {1..4}
length | percent
length | percent
length | percent
length | percent
auto | name
auto | always | avoid | left | right
auto | always | avoid | left | right
auto | avoid
static | relative | absolute | fixed
prince-background-image-resolution*
dpi | normal | auto [ , normal | dpi ]?
length
none | content
none | integer
open | closed
self | url(target-url) | attr(target-attr)
first | following | all
normal | static(name, start | current?)
none | url(patterns-url)
integer
integer
no-limit | integer
dpi | normal | auto [ , normal | dpi ]?
auto | percent
none | auto
none | url(target-url) | attr(target-attr)
start | auto
auto | show-bookmarks | fullscreen
auto | none
"JavaScript"
none | auto
none | [ "search" "replace" ]+
length | length length
auto | length | percent
paper-size | length length landscape | portrait?
none | [ ident content ]+
number | attr(colspan)
auto | fixed
number | attr(rowspan)
left | right | inside | outside | center | justify
left | right | inside | outside | center | justify
none || underline || overline || line-through
length hanging?
color || text-line-through-style
color
none | solid | dashed | dotted
color || text-overline-style
color
none | solid | dashed | dotted
none | lowercase | uppercase | capitalize
color || text-underline-style
color
none | solid | dashed | dotted
auto | length | percent
baseline | sub | super | top | text-top | middle | bottom | text-bottom | length | percent
visible | hidden
normal | pre | pre-wrap | pre-line | nowrap
integer
auto | length | percent
normal | length
auto | number