I have unordered list which has bulleted text within. I need to indent the list items in line. However for long running text, the style is not working as expected. I should make it aligned within the border box. Here is the css code
ul{
background-color: #FFFFFF;
border: 1px solid black;
border-radius: 3px 3px 3px 3px;
list-style: disc inside none;
padding: 10px;
}
Here is the example HTML
<div style="padding:20px">
<ul>
<li>Should be minimum of 8 characters</li>
<li>A long running text A long running text A long running text A long running text A long running text</li>
<li>Should have at least one number</li>
</ul>
</div>

JS Fiddle link : http://jsfiddle.net/jHJXq/
Is this what you are looking for?
http://jsfiddle.net/jHJXq/3/
I changed the list style to “outside” and gave some extra padding to the left.