So I have div id="main_content" with scroll (overflow:auto;) and a list inside it. The problem is, that circles near lists items are missed! How can I fix it?
#main_content {
height: 620px;
margin-left: 390px;
margin-top: -350px;
overflow: auto;
padding-right: 10px;
position: absolute;
text-align: justify;
width: 620px;
}
#main_content ul li {
display: list-item;
list-style: circle;
}
If you’ve used a reset stylesheet, or perhaps set
margin: 0;in your css, you’ll need to reset themargin-leftvalue of theulorlielement(s), unless you prefer to uselist-style-position: inside;(the other value being, obviously,outside).JS Fiddle demo.