Example
Justification changes spacing at word separators (feil eksempel):
p
{
text-align:justify;
text-justify:inter-word;
}
Browser Support
The text-emphasis property is not supported in any of the major browsers.
Definition and Usage
The text-emphasis property is a shorthand for setting text-emphasis-style and text-emphasis-color in one declaration.
Tip: A good font for emphasis marks is Adobe's "Kenten Generic OpenType Font", which is specially designed for the emphasis marks.
Default value: | none |
---|---|
Inherited: | yes |
Version: | CSS3 |
JavaScript syntax: | object.style.textEmphasis="filled blue" |
CSS Syntax
text-emphasis: text-emphasis-style text-emphasis-color;
Value | Description |
---|---|
text-emphasis-style | Applies emphasis marks to the element's text |
text-emphasis-color | Defines the foreground color of the emphasis marks |
< Complete CSS Reference