-3

Been working away, and I can not figure out how to get rid of the "." before list elements, I can change the color of them easily enough, but to turn them of on a list displayed in a column seems impossible.

This is the css in question:

.vert ul {
    line-style-type: none;
    content: " ";
    text-align: center;
    color: pink;
}
.vert ul:befor {
    content: " ";
    color: blue;
}
.vert li:before {
    content: " ";
    color: orange;
}

Any link that uses vert as class then ends up pink, and with a .

damian
  • 5,314
  • 5
  • 34
  • 63
vrghost
  • 1,084
  • 2
  • 19
  • 42
  • http://stackoverflow.com/questions/1027354/need-an-unordered-list-without-any-bullets – sebnukem Apr 13 '15 at 15:23
  • 1
    How does this question get 3 down votes without an explanation as to why? An honest mistake was made in the css and the mistake was pointed out. Problem solved. But down voting a question without a constructive explanation as to why you have done so creates a problem in that A. it discourages people from asking future questions while B. does nothing to help them answer their own questions in the future. – Hastig Zusammenstellen Apr 13 '15 at 15:39

3 Answers3

6

line-style-type should be list-style-type.

GolezTrol
  • 114,394
  • 18
  • 182
  • 210
2

Change

line-style-type: none 

to

list-style-type: none;
nweg
  • 2,825
  • 3
  • 22
  • 30
0

Just add:

list-style-type: none;

to ul elements.

jvperrin
  • 3,368
  • 1
  • 23
  • 33
Kamlesh Panchal
  • 192
  • 2
  • 4
  • 20