Set whether a punctuation character may be placed outside the line box with CSS

CSSWeb DevelopmentFront End Technology

Use the hanging-punctuation property to set whether a punctuation character may be placed outside the line box. It has the following values

Sr.NoProperty Value & Description
1.Last
No punctuation mark
2.First
Punctuation outside the start edge of the first line
3.Last
Punctuation outside the end edge of the last line


Set it like this on your web page

hanging-punctuation: none;
hanging-punctuation: first;
hanging-punctuation: last;
raja
Published on 31-May-2018 15:36:45
Advertisements