📜  css 设置跨度的宽度 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:28.576000             🧑  作者: Mango

代码示例1
span {    /* Normally a span has no width! */
  display: inline-block; /* This fixes it. */
  width: 50px; /* Whatever width you like. */
}
/* Does not work in FF2 and below. */