CSS hanging-punctuation ιδιότητα
- Προηγούμενη σελίδα grid-template-rows
- Επόμενη σελίδα height
Definition and usage
The hanging-punctuation property specifies whether to place punctuation marks at the beginning or end of the line box of the entire text line.
Example
Place a punctuation mark outside the start edge of the first line of the p element:
p { hanging-punctuation:first; }
CSS syntax
hanging-punctuation: none|first|last|allow-end|force-end;
Attribute value
Value | Description |
---|---|
none | Place the label symbol outside the line box of the line that is not at the beginning or end of the text line. |
first | Punctuation is attached outside the edge of the first line's start. |
last | Punctuation is attached outside the edge of the first line's end. |
allow-end | |
force-end |
Technical details
Default value: | none |
---|---|
Inheritance: | yes |
Version: | CSS3 |
JavaScript syntax: | object.style.hangingPunctuation="first" |
Browser support
The numbers in the table indicate the first browser version that fully supports this attribute.
Chrome | IE / Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Δεν υποστηρίζεται | Δεν υποστηρίζεται | Δεν υποστηρίζεται | 10+ | Δεν υποστηρίζεται |
- Προηγούμενη σελίδα grid-template-rows
- Επόμενη σελίδα height