Character marker for list : list style type : List Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » List Style » list style type »

 

Character marker for list


 


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
<style type="text/css" media="Screen">
ul {
  margin-left: 0;
  padding-left: 0;
}  
ul li {
  margin-left: 60px;
}
* .none {
  list-style-type: none;
}
* .marker {
  float: left;
  margin-left: -60px;
  width: 60px;
  text-align: center;
}

</style>
</head>
<body>
<div id="section1">
    <h2>Normal Lists</h2> 
    
    <ul>
       <li class="none"><span class="marker">*</span>faux marker</li> 
    </ul>
</div> 


</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo List Style
» list style type