list-style-image : url : Style Basics HTML CSS TUTORIALS


HTML CSS TUTORIALS » Style Basics » url »

 

list-style-image


 
<!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'>
            li {
                list-style-image: url('collapsed_folder.gif');
            }
            li + li + li + li + li {
                list-style: inside url('exploded_folder.gif');   
            }
        </style>
    </head>
    <body>
        <ul>
            <li> My Pictures</li>
            <li> My Music</li>
            <li> My Documents</li>
            <li> My Computer</li>
            <li> Control Panel</li>
        </ul>
    </body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Style Basics
» url