Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save adam-p/03f1d31ec0b85893e806 to your computer and use it in GitHub Desktop.

Select an option

Save adam-p/03f1d31ec0b85893e806 to your computer and use it in GitHub Desktop.

MS Office prefixed Style properties

mso-ansi-font-size

Note: Office only

mso-ansi-font-size: large | larger | <length> | medium | <percentage> | small | smaller | x-large | x-small | xx-large | xx-small

mso-ansi-font-style

Note: Office only

mso-ansi-font-style: italic | normal | oblique

mso-ansi-font-weight

mso-ansi-font-weight: bold | bolder | lighter | normal | <number>

mso-ansi-language

mso-ansi-language: <string>

mso-arabic-font-family

Note: Office only

mso-arabic-font-family

Note: Office only

mso-armenian-font-family

mso-ascii-font-family

Note: Office only

mso-ascii-font-family: auto | cursive | fantasy | monospace | sans-serif | serif | <string>

Note: Office only

mso-ascii-theme-font

Note: Office only

mso-background-source

Note: Office only

mso-bengali-font-family

mso-bidi-flag

Note: Office only

mso-bidi-flag: off | on

Note: Office only

mso-bidi-font-family

mso-bidi-font-family

Note: Office only

mso-bidi-font-family: auto | cursive | fantasy | monospace | sans-serif | serif | <string>   

mso-bidi-font-size

Note: Office only

mso-bidi-font-size: <length> | <percentage> | large | larger | medium | small | smaller | x-large | x-small | xx-large | xx-small

mso-bidi-font-style

Note: Office only

mso-bidi-font-style: italic | normal | oblique

mso-bidi-font-weight

Note: Office only

mso-bidi-font-weight: bold | bolder | lighter | normal | <number>

mso-bidi-language

Note: Office only

mso-bidi-language: <string>

Note: Office only

mso-bidi-theme-font

mso-bookmark

mso-bookmark: <string>

Note: Office only

mso-bopomofo-font-family

mso-border-alt

Note: Office only

mso-border-alt: apples | arched-scallops | auto | baby-pacifier | baby-rattle | balloons-3-colors | balloons-hot-air | basic-black-dashes | basic-black-dots | basic-black-squares | basic-thin-lines | basic-white-dashes | basic-white-dots | basic-white-squares | basic-wide-inline | basic-wide-midline | basic-wide-outline | bats | birds | birds-flight | cabins | cake-slice | candy-corn | celtic-knotwork | certificate-banner | chain-link | champagne-bottle | checked-bar-black | checked-bar-color | checkered | christmas-tree | circles-lines | circles-rectangles | classical-wave | clocks | <color> | compass | confetti | confetti-grays | confetti-outline | confetti-streamers | confetti-white | corner-triangles | coupon-cutout-dashes | coupon-cutout-dots | crazy-maze | creatures-butterfly | creatures-fish | creatures-insects | creatures-lady-bug | cross-stitch | cup | dash-dot-stroked | dashed | dash-large-gap | dash-small-gap | deco-arch | deco-arch-color | deco-blocks | diamonds-gray | dot-dash | dot-dash-slanted | dot-dot-dash | dotted | double | double-d | double-diamonds | double-wave | earth-1 | earth-2 | eclipsing-squares-1 | eclipsing-squares-2 | eggs-black | emboss-3d | engrave-3d | fans | film | firecrackers | flowers-block-print | flowers-daisies | flowers-modern-1 | flowers-modern-2 | flowers-pansy | flowers-red-rose | flowers-roses | flowers-teacup | flowers-tiny | gems | gingerbread-man | gradient | groove | hairline | handmade-1 | handmade-2 | heart-balloon | heart-gray | hearts | heebie-jeebies | holly | house-funky | hypnotic | ice-cream-cones | inset | <length> | light-bulb | lightning-1 | lightning-2 | maple-leaf | maple-muffins | map-pins | marquee | marquee-toothed | medium | moons | mosaic | music-notes | none | northwest | outset | ovals | packages | palms-black | palms-color | paper-clips | papyrus | party-favor | party-glass | pencils | people | people-hats | people-waving | poinsettias | postage-stamp | pumpkin-1 | push-pin-note-1 | push-pin-note-2 | pyramids | pyramids-above | quadrants | ridge | rings | safari | sawtooth | sawtooth-gray | scared-cat | seattle | shadowed-squares | sharks-teeth | shorebird-tracks | short-dash | skyrocket | snowflake-fancy | snowflakes | solid | solid-thick | sombrero | southwest | stars | stars-3d | stars-black | stars-shadowed | stars-top | sun | swirligig | thick | thick-thin-large-gap | thick-thin-medium-gap | thick-thin-small-gap | thick-thin-thick-small-gap | thin | thin-thick-large-gap | thin-thick-medium-gap | thin-thick-small-gap | thin-thick-thin-large-gap | thin-thick-thin-medium-gap | thin-thick-thin-small-gap | three-d-emboss | three-d-engrave | torn-paper | torn-paper-black | trees | triangle-party | triangles | tribal-1 | tribal-2 | tribal-3 | tribal-4 | tribal-5 | tribal-6 | triple | twisted-lines-1 | twisted-lines-2 | vine | wave | waveline | weaving-angles | weaving-braid | weaving-ribbon | weaving-strips | white-flowers | windowtext | woodwork | x-illusions | zany-triangles | zig-zag | zig-zag-stitch

Note: Office only

mso-border-bottom-alt

Note: Office only

mso-border-color-alt

Note: Office only

mso-border-insideh

Note: Office only

mso-border-insidev

Note: Office only

mso-border-left-alt

Note: Office only

mso-border-right-alt

Note: Office only

mso-border-shadow

Note: Office only

mso-border-style-alt

Note: Office only

mso-border-top-alt

Note: Office only

mso-border-width-alt

Note: Office only

mso-break-type

Note: Office only

mso-cell-special

mso-cellspacing

Note: Office only

mso-cellspacing: <length>

mso-char-indent-count

Note: Office only

mso-char-indent-count: <number>

mso-char-indent-size

Note: Office only

mso-char-indent-size: <length>

Note: Office only

mso-char-tracking

mso-char-type

Note: Office only

mso-char-type: hiragana | katakana | narrow-katakana | none | symbol

mso-char-wrap

Note: Office only

mso-char-wrap: <number>

mso-color-alt

Note: Office only

mso-color-alt: auto | <color> | windowtext

mso-color-index

Note: Office only

mso-color-index: <number>

mso-columns

Note: Office only

mso-columns: <length> | even | not-even | <percentage>

mso-column-separator

Note: Office only

mso-column-separator: none | solid

Note: Office only

mso-column-margin

mso-comment-author

mso-comment-author: <string>

mso-comment-continuation

Note: Office only

mso-comment-continuation: <string>

mso-comment-id

Note: Office only

mso-comment-id: <string>

mso-comment-reference

Note: Office only

mso-comment-reference: <string>

Note: Office only

mso-currency-font-family

Note: Office only

mso-cyrillic-font-family

mso-data-placement

Note: Office only

mso-data-placement: new-cell | same-cell

Note: Office only

mso-default-font-family

mso-default-height

Note: Office only

mso-default-height: <length>

Note: Office only

mso-default-props

mso-default-width

Note: Office only

mso-default-width: <length>

mso-diagonal-down

Note: Office only

mso-diagonal-down: apples | arched-scallops | auto | baby-pacifier | baby-rattle | balloons-3-colors | balloons-hot-air | basic-black-dashes | basic-black-dots | basic-black-squares | basic-thin-lines | basic-white-dashes | basic-white-dots | basic-white-squares | basic-wide-inline | basic-wide-midline | basic-wide-outline | bats | birds | birds-flight | cabins | cake-slice | candy-corn | celtic-knotwork | certificate-banner | chain-link | champagne-bottle | checked-bar-black | checked-bar-color | checkered | christmas-tree | circles-lines | circles-rectangles | classical-wave | clocks | <color> | compass | confetti | confetti-grays | confetti-outline | confetti-streamers | confetti-white | corner-triangles | coupon-cutout-dashes | coupon-cutout-dots | crazy-maze | creatures-butterfly | creatures-fish | creatures-insects | creatures-lady-bug | cross-stitch | cup | dash-dot-stroked | dashed | dash-large-gap | dash-small-gap | deco-arch | deco-arch-color | deco-blocks | diamonds-gray | dot-dash | dot-dash-slanted | dot-dot-dash | dotted | double | double-d | double-diamonds | double-wave | earth-1 | earth-2 | eclipsing-squares-1 | eclipsing-squares-2 | eggs-black | emboss-3d | engrave-3d | fans | film | firecrackers | flowers-block-print | flowers-daisies | flowers-modern-1 | flowers-modern-2 | flowers-pansy | flowers-red-rose | flowers-roses | flowers-teacup | flowers-tiny | gems | gingerbread-man | gradient | groove | hairline | handmade-1 | handmade-2 | heart-balloon | heart-gray | hearts | heebie-jeebies | holly | house-funky | hypnotic | ice-cream-cones | inset | <length> | light-bulb | lightning-1 | lightning-2 | maple-leaf | maple-muffins | map-pins | marquee | marquee-toothed | medium | moons | mosaic | music-notes | none | northwest | outset | ovals | packages | palms-black | palms-color | paper-clips | papyrus | party-favor | party-glass | pencils | people | people-hats | people-waving | poinsettias | postage-stamp | pumpkin-1 | push-pin-note-1 | push-pin-note-2 | pyramids | pyramids-above | quadrants | ridge | rings | safari | sawtooth | sawtooth-gray | scared-cat | seattle | shadowed-squares | sharks-teeth | shorebird-tracks | short-dash | skyrocket | snowflake-fancy | snowflakes | solid | solid-thick | sombrero | southwest | stars | stars-3d | stars-black | stars-shadowed | stars-top | sun | swirligig | thick | thick-thin-large-gap | thick-thin-medium-gap | thick-thin-small-gap | thick-thin-thick-small-gap | thin | thin-thick-large-gap | thin-thick-medium-gap | thin-thick-small-gap | thin-thick-thin-large-gap | thin-thick-thin-medium-gap | thin-thick-thin-small-gap | three-d-emboss | three-d-engrave | torn-paper | torn-paper-black | trees | triangle-party | triangles | tribal-1 | tribal-2 | tribal-3 | tribal-4 | tribal-5 | tribal-6 | triple | twisted-lines-1 | twisted-lines-2 | vine | wave | waveline | weaving-angles | weaving-braid | weaving-ribbon | weaving-strips | white-flowers | windowtext | woodwork | x-illusions | zany-triangles | zig-zag | zig-zag-stitch

Note: Office only

mso-devanagari-font-family

mso-displayed-decimal-separator

Note: Office only

mso-displayed-decimal-separator: <string>

mso-displayed-thousand-separator

Note: Office only

mso-displayed-thousand-separator: <string>

mso-element

Note: Office only

mso-element: comment | comment-list | dropcap-dropped | dropcap-in-margin | endnote | endnote-continuation-notice | endnote-continuation-separator | endnote-list | endnote-separator | field-begin | field-end | field-separator | footer | footnote | footnote-continuation-notice | footnote-continuation-separator | footnote-list | footnote-separator | frame | header | none | paragraph-mark-properties | table-head

mso-element-anchor-horizontal

Note: Office only

mso-element-anchor-horizontal: column | margin | page

mso-element-anchor-lock

Note: Office only

mso-element-anchor-lock: auto | locked

mso-element-anchor-vertical

mso-element-anchor-vertical: margin | page | paragraph

mso-element-frame-height

mso-element-frame-height: auto | <length>

mso-element-frame-hspace

mso-element-frame-hspace: <length>

mso-element-frame-vspace

mso-element-frame-vspace: <length>

mso-element-frame-width

mso-element-frame-width: auto | <length>

mso-element-left

mso-element-left: center | <length> | inside | left | outside | right

mso-element-linespan

mso-element-linespan: <number>

mso-element-top

mso-element-top: bottom | <length> | inside | middle | outside | top

mso-element-wrap

mso-element-wrap: around | auto | none | no-wrap-beside

mso-endnote-continuation-notice

mso-endnote-continuation-notice: <string> | <url>

mso-endnote-continuation-notice-id

mso-endnote-continuation-notice-id: <string>

mso-endnote-continuation-notice-src

mso-endnote-continuation-notice-src: <url>

mso-endnote-continuation-separator

mso-endnote-continuation-separator: <string> | <url>

mso-endnote-continuation-separator-id

mso-endnote-continuation-separator-id: <string>

mso-endnote-continuation-separator-src

mso-endnote-continuation-separator-src: <url>

mso-endnote-display

mso-endnote-display: none | normal

mso-endnote-id

mso-endnote-id: <string>

mso-endnote-numbering

mso-endnote-numbering: alpha-lower | alpha-upper | arabic | auto | chicago | decimal | each-section | lower-alpha | lower-roman | <number> | roman-lower | roman-upper | upper-alpha | upper-roman

mso-endnote-numbering-restart

Note: Office only

mso-endnote-numbering-restart: auto | each-section

mso-endnote-numbering-start

Note: Office only

mso-endnote-numbering-start: <number>

mso-endnote-numbering-style

Note: Office only

mso-endnote-numbering-style: alpha-lower | alpha-upper | arabic | chicago | decimal | lower-alpha | lower-roman | roman-lower | roman-upper | upper-alpha | upper-roman

mso-endnote-separator

Note: Office only

mso-endnote-separator: <string> | <url>

mso-endnote-position

Note: Office only

mso-endnote-position: end-of-document | end-of-section

mso-endnote-separator

Note: Office only

mso-endnote-separator: <string> | <url>

mso-endnote-separator-id

Note: Office only

mso-endnote-separator-id: <string>

mso-endnote-separator-src

Note: Office only

mso-endnote-separator-src: <url>

Note: Office only

mso-eudc-font-family

mso-even-footer

Note: Office only

mso-even-footer: <string> | <url>

mso-even-footer-id: <string>

Note: Office only

mso-even-footer-src: <url>

mso-even-header

Note: Office only

mso-even-header: <string> | <url>

mso-even-header-id

Note: Office only

mso-even-header-id: <string>

mso-even-header-src

Note: Office only

mso-even-header-src: <url>

mso-facing-pages

Note: Office only

mso-facing-pages: no | yes

mso-fareast-font-family

mso-fareast-font-family: auto | cursive | fantasy | monospace | sans-serif | serif | <string>

mso-fareast-hint

mso-fareast-hint: no | yes

mso-fareast-language

Note: Office only

mso-fareast-language: <string>

mso-fills-color

Note: Office only

mso-fills-color: auto | <color> | windowtext

Note: Office only

mso-fareast-theme-font

mso-field-change

Note: Office only

mso-field-change: <string>

mso-field-change-time

Note: Office only

mso-field-change-time: <string>

mso-field-change-value

Note: Office only

mso-field-change-value: <string>

mso-field-code

Note: Office only

mso-field-code: <string>

mso-field-lock

Note: Office only

mso-field-lock: <string>

mso-first-footer

Note: Office only

mso-first-footer: <string> | <url>

mso-first-footer-id

Note: Office only

mso-first-footer-id: <string>

mso-first-footer-src

Note: Office only

mso-first-footer-src: <url>

mso-first-header

Note: Office only

mso-first-header: <string> | <url>

mso-first-header-id

Note: Office only

mso-first-header-id: <string>

mso-first-header-src

Note: Office only

mso-first-header-src: <url>

mso-font-alt

Note: Office only

mso-font-alt: <string>

mso-font-charset

Note: Office only

mso-font-charset: <number>

mso-font-format

Note: Office only

mso-font-format: other | truetype

mso-font-info

Note: Office only

mso-font-info: auto | cursive | fantasy | monospace | <number> | sans-serif | serif | <string>

mso-font-info-charset

Note: Office only

mso-font-info-charset: <number>

mso-font-info-type

Note: Office only

mso-font-info-type: auto | cursive | fantasy | monospace | sans-serif | serif | <string>

mso-font-kerning

Note: Office only

mso-font-kerning: <length> | none | <percentage>

mso-font-pitch

mso-font-pitch: auto | fixed | variable

mso-font-signature

Note: Office only

mso-font-signature: <number>

mso-font-signature-csb-one

Note: Office only

mso-font-signature-csb-one: <number>

mso-font-signature-csb-two

Note: Office only

mso-font-signature-csb-two: <number>

mso-font-signature-usb-four

Note: Office only

mso-font-signature-usb-four: <number>

mso-font-signature-usb-one

Note: Office only

mso-font-signature-usb-one: <number>

mso-font-signature-usb-three

Note: Office only

mso-font-signature-usb-three: <number>

mso-font-signature-usb-two

Note: Office only

mso-font-signature-usb-two: <number>

mso-font-src

Note: Office only

mso-font-src: <number>

mso-font-width

Note: Office only

mso-font-width: <length> | <percentage>

mso-footer

Note: Office only

mso-footer: <string> | <url>

mso-footer-data

Note: Office only

mso-footer-data: <string>

mso-footer-id

Note: Office only

mso-footer-id: <string>

mso-footer-margin

Note: Office only

mso-footer-margin: <length> | <percentage>

mso-footer-src

Note: Office only

mso-footer-src: <url>

mso-footnote-continuation-notice

Note: Office only

mso-footnote-continuation-notice: <string> | <url>

mso-footnote-continuation-notice-id

Note: Office only

mso-footnote-continuation-notice-id: <string>

mso-footnote-continuation-notice-src

Note: Office only

mso-footnote-continuation-notice-src: <url>

mso-footnote-continuation-separator

Note: Office only

mso-footnote-continuation-separator: <string> | <url>

mso-footnote-continuation-separator-id

Note: Office only

mso-footnote-continuation-separator-id: <string>

mso-footnote-continuation-separator-src

Note: Office only

mso-footnote-continuation-separator-src: <url>

mso-footnote-id

Note: Office only

mso-footnote-id: <string>

mso-footnote-numbering

Note: Office only

mso-footnote-numbering: alpha-lower | alpha-upper | arabic | auto | chicago | decimal | each-page | each-section | lower-alpha | lower-roman | <number> | roman-lower | roman-upper | upper-alpha | upper-roman

mso-footnote-numbering-restart

Note: Office only

mso-footnote-numbering-restart: auto | each-page | each-section

mso-footnote-numbering-start

Note: Office only

mso-footnote-numbering-start: <number>

mso-footnote-numbering-style

Note: Office only

mso-footnote-numbering-style: alpha-lower | alpha-upper | arabic | chicago | decimal | lower-alpha | lower-roman | roman-lower | roman-upper | upper-alpha | upper-roman

mso-footnote-position

Note: Office only

mso-footnote-position: beneath-text | bottom-of-page

mso-footnote-separator

Note: Office only

mso-footnote-separator: <string> | <url>

mso-footnote-separator-id

Note: Office only

mso-footnote-separator-id: <string>

mso-footnote-separator-src

Note: Office only

mso-footnote-separator-src: <url>

mso-foreground

Note: Office only

mso-foreground: auto | <color> | windowtext

mso-forms-protection

Note: Office only

mso-forms-protection: no | yes

mso-generic-font-family

Note: Office only

mso-generic-font-family: auto | decorative | modern | roman | script | swiss

Note: Office only

mso-georgian-font-family

Note: Office only

mso-gram-e

Note: Office only

mso-greek-font-family

Note: Office only

mso-gurmukhi-font-family

Note: Office only

mso-halfwidthkana-font-family

Note: Office only

mso-han-font-family

Note: Office only

mso-hangul-font-family

mso-hansi-font-family

mso-hansi-theme-font

mso-header

mso-header-margin

mso-hebrew-font-family

mso-height-rule

mso-height-source

mso-hide

mso-highlight

mso-hyphenate

mso-ignore

mso-kana-font-family

mso-kannada-font-family

mso-kinsoku-overflow

mso-lao-font-family

mso-latin-font-family

mso-latinext-font-family

mso-layout-grid-align

mso-level-font-family

mso-level-indent

mso-level-legacy

mso-level-legacy-indent

mso-level-legacy-space

mso-level-number-format

mso-level-number-position

mso-level-size

mso-level-start-at

mso-level-style-link

mso-level-tab-stop

mso-level-text

mso-line-height-alt

mso-line-height-rule

mso-line-spacing

mso-linked-frame

mso-list

mso-list-id

mso-list-template-ids

mso-list-type

mso-malayalam-font-family

mso-margin-bottom-alt

mso-margin-left-alt

mso-margin-top-alt

mso-no-proof

mso-number-format

mso-oriya-font-family

mso-outline-level

mso-padding-alt

mso-page-border-surround-footer

mso-page-border-surround-header

mso-page-orientation

mso-pagination

mso-paper-source

mso-para-margin

mso-para-margin-bottom

mso-para-margin-left

mso-para-margin-right

mso-para-margin-top

mso-pattern

mso-position-horizontal

mso-position-horizontal-relative

mso-position-vertical

Note: Office only

mso-position-vertical-relative

Note: Office only

mso-protection

Note: Office only

mso-rotate

Note: Office only

mso-row-margin-left

Note: Office only

mso-row-margin-right

Note: Office only

mso-shading

Note: Office only

mso-spacerun

Note: Office only

mso-special-character

Note: Office only

mso-special-format

Note: Office only

mso-spl-e

Note: Office only

mso-style-id

Note: Office only

mso-style-link

Note: Office only

mso-style-locked

Note: Office only

mso-style-name

Note: Office only

mso-style-next

Note: Office only

mso-style-noshow

Note: Office only

mso-style-parent

Note: Office only

mso-style-priority

Note: Office only

mso-style-qformat

Note: Office only

mso-style-type

Note: Office only

mso-style-unhide

Note: Office only

mso-style-update

Note: Office only

mso-symbol-font-family

Note: Office only

mso-syriac-font-family

Note: Office only

mso-tab-count

Note: Office only

mso-table-anchor-horizontal

Note: Office only

mso-table-anchor-vertical

Note: Office only

mso-table-layout-alt

Note: Office only

mso-table-left

Note: Office only

mso-table-lspace

Note: Office only

mso-table-overlap

Note: Office only

mso-table-rspace

Note: Office only

mso-table-top

Note: Office only

mso-tamil-font-family

Note: Office only

mso-telugu-font-family

Note: Office only

mso-text-animation

Note: Office only

mso-text-raise

Note: Office only

mso-thaana-font-family

Note: Office only

mso-thai-font-family

Note: Office only

mso-themecolor

Note: Office only

mso-themeshade

Note: Office only

mso-title-page

Note: Office only

mso-tstyle-colband-size

Note: Office only

mso-tstyle-rowband-size

Note: Office only

mso-width-alt

Note: Office only

mso-width-source

Note: Office only

mso-wrap-distance-bottom

Note: Office only

mso-wrap-distance-left

Note: Office only

mso-wrap-distance-right

Note: Office only

mso-wrap-distance-top

Note: Office only

mso-wrap-edited

Note: Office only

mso-yfti-firstrow

Note: Office only

mso-yfti-irow

Note: Office only

mso-yfti-lastrow

Note: Office only

mso-yfti-tbllook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment