phpword,带破折号的列表类型或无序列表



我想使用破折号作为列表类型而不是项目符号或正方形,这可能吗?

类似的东西

- yes
- no
- nes
- yo

我正在使用phpword并生成"docx"文件

在 css 中使用之前

<style type="text/css">
  ul {
    list-style-type: none;
  }
  li:before {
    content: " - ";
  }
</style>
<ul class="bullet">
  <li>1</li>
  <li>2</li>
  <li>3</li>
  <li>5</li>
</ul>  

最新更新