HTML/CSS/CSS Attributes and Javascript Style Properties/list style position
"list-style-position" Example
<html>
<head>
</head>
<body>
<ul style="list-style-image:url(http://www.wbex.ru/style/logo.png);
list-style-position:inside">
<li>Item 1.</li>
<li>Item 2.</li>
<li>Item 3.</li>
<li>Item 4.</li>
<li>Item 5.</li>
</ul>
</body>
</html>
list-style-position: inside
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">
ul {
font-family: sans-serif;
list-style-position: inside;
}
li {
border: thin solid lightgrey;
}
</style>
</head>
<body>
<ul>
<li>D</li>
<li>D</li>
<li>D</li>
</ul>
</body>
</html>
list-style-position: outside
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">
ul {
font-family: sans-serif;
list-style-position: outside;
}
li {
border: thin solid lightgrey;
}
</style>
</head>
<body>
<ul>
<li>D</li>
<li>D</li>
<li>D</li>
</ul>
</body>
</html>