-1

I have very little experience with coding and am trying to change a bullet from the stock outlined circle to a right quote (&raquo).

This is my code for the current bullet:

<li style="font-family: Helvetica,Calibri,Arial,sans-serif; color: #cbcbcb;"></li>

and I would just like to add "»" into the code.

javac
  • 2,431
  • 4
  • 17
  • 26
  • Solution is also well covered in this question: http://stackoverflow.com/questions/3203252/unicode-character-as-bullet-for-list-item-in-css Please search on SO better. Sorry but downvote for that. – keaukraine Sep 30 '13 at 15:35

2 Answers2

1

You can set

ul { list-style: none; }

And then use CSS2 before pseudo-element

ul li:before {
    content: "\00BB";
}

http://jsfiddle.net/jonigiuro/hsLuK/

You can read about pseudo-elements here: http://www.w3.org/TR/CSS2/selector.html#before-and-after

keaukraine
  • 5,315
  • 29
  • 54
Jonas Grumann
  • 10,438
  • 2
  • 22
  • 40
0

You can change with custom bullet from an image. Just create the image with the bullet you want, and use this CSS property:

ul {
  list-style-image: url('bullet.gif');
}
CoursesWeb
  • 4,179
  • 3
  • 21
  • 27