'list-style-position' Example : list style position « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'list-style-position' Example

    
<html>
<body>
<ul style="list-style-image:url(yourMarker.gif); 
           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>
<ul style="list-style-image:url(yourMarker.gif); 
           list-style-position:outside">
    <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' Syntax and Note
2.'list-style-position' Possible Values
3.'list-style-position' is applied to