How to automatically add » (») to
  • elements using CSS?
  • 后端 未结 2 819
    滥情空心
    滥情空心 2020-12-23 09:04

    I want to automatically add the HTML character » (») to the left of each li element.

    What would be the best practise?

    I w

    2条回答
    •  慢半拍i
      慢半拍i (楼主)
      2020-12-23 09:36

      If you don't want the arrows to appear as content then why not go for a css background?

      li { background: url("raquo.gif") no-repeat left center; }
      

    提交回复
    热议问题