How to create small SPACES in HTML?

后端 未结 5 1992
傲寒
傲寒 2021-01-31 09:08

There is em dash and en dash. Is there an \"en\" equivalent to   ? Is there an en equivalent to pure Ascii 32?

I want a better way to

5条回答
  •  眼角桃花
    2021-01-31 09:52

    (thin space) should do

    Note that   has not the same with as an (—); to separate numbers you should use a narrow no-break space (U+202F).

    As others have mentioned, you are better off using the CSS property word-spacing to define the width of your spaces. it's probably a good idea to combine it with white-space:nowrap;

提交回复
热议问题