The bullets on my list items disappear when I convert them to columns using CSS3. Any ideas why or suggestions on how to correct it?
See the example: http://jsfiddle.net/gduDm/1/
ul li {
list-style-type: disc !important;
column-break-inside: avoid;
}
ul {
list-style-type: disc !important;
margin-top: 1em;
column-count: 2;
column-gap: 0.5em;
}
After trying the first answer here, I was having issues with my list items spilling onto a second row and not lining up. Using
column-gap
I was able to move the second column over and see the bullets.Source: http://karlikdesign.com/how-to-split-a-list-into-two-columns-with-pure-css/
I think the bullets are there, but they're being rendered to the left of the viewing area. Try:
Setting
margin-left:1em
makes the bullets appear without messing with the text indentation.Adding both
padding-left
and a negativetext-indent
to the list elements seems to produce the desired result:http://jsfiddle.net/mblase75/gduDm/4/
Alternatively, add a
margin-left
to the list element (instead of the list) and useoutside
bullets:http://jsfiddle.net/mblase75/gduDm/9/