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

时间:2017-01-18 13:49:02

标签: php list phpword unordered

我想用破折号作为列表类型而不是子弹或正方形是否可能?

类似

- yes
- no
- nes
- yo

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

1 个答案:

答案 0 :(得分:0)

在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>  
&#13;
&#13;
&#13;

相关问题