'list-style-position' Example : list style position « CSS « HTML / CSS






'list-style-position' Example

  
    
<html>
<head>
</head>
<body>
<ul style="list-style-image:url(http://www.java2s.com/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>

    
      
        
    
  








Related examples in the same category

1.list-style-position: outside
2.list-style-position: inside
3.list style position: inside
4.list style position: outside
5.LI list-style-position: inside;