Monday, August 19, 2013

CSS list image

<html>
<head>
<style type="text/css">
ul
{
list-style-image:url('arrow.gif');
list-style-type:square;
}
</style>
</head>

<body>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Coca Cola</li>
</ul>
</body>
</html>

Result

No comments: