CSS Property: hanging-punctuation
[this page | pdf | back links]
The CSS (CSS3) hanging-punctuation property indicates
whether a punctuation mark can be placed outside the box at the start or end of
a full line of text. At the time of writing many major browsers did not support
this property.
Valid property values
(other than inherit
and initial) are:
Value
|
Description
|
allow-end
|
Punctuation may hang
outside end edge of all lines
|
first
|
May hang outside start
edge
|
force-end
|
May hang outside end
edge of all lines (and will be forced to do so if justification applies to
the line)
|
last
|
May hang outside end
edge
|
none
|
(default value). Punctuation
mark cannot be placed outside line box
|
Default Value:
|
none
|
JavaScript syntax:
|
e.g. object.style.hangingPunctuation="last"
|
Inherited:
|
Yes
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties