CSS 属性:

text-justify:

  • auto
  • none
  • inter-word
  • inter-ideograph
  • inter-cluster
  • distribute
  • kashida

结果:

Shanghai is the largest city by population in the People's Republic of China (PRC) and the largest city proper by population in the world. It is one of the four province-level municipalities of the PRC, with a total population of over 23 million as of 2010. It is a global city, with influence in commerce, culture, finance, media, fashion, technology, and transport. It is a major financial center and the busiest container port in the world.

CSS 代码:

div#DemoArea
{
text-align:justify;
text-justify:auto;
}