list-style-position:inside;list-style-position:outside;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CSS Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type='text/css'>
ul.inside { list-style-position:inside;}
ul.outside {list-style-position:outside;}
ul {width:170px;}
</style>
</head>
<body>
<ul class="inside">
<li>First item in list, bullet marker is inside the box</li>
<li>Second item in list, bullet marker is inside the box</li>
</ul>
<ul class="outside">
<li>First item in list, bullet marker is outside the box</li>
<li>Second item in list, bullet marker is outside the box</li>
</ul>
</body>
</html>
Related examples in the same category