在css中,有专门的为列表设计的样式,使用这些样式可以用图片来代替列表前的符号,也可以用不同的方式来显示

列表前的标号,还可以设置列表文字的排列方式和间距

 

1.用图片代替符号

在css中可以使用list-style-p_w_picpath属性来修饰死板的标号,使列表变得更加生动.

list-style-p_w_picpath属性可以作用在

      • 标签

        语法代码:list-style-p_w_picpath:none  || url ;

         

         
            
        1. 在css中,有专门的为列表设计的样式,使用这些样式可以用图片来代替列表前的符号,也可以用不同的方式来显示 
        2.  
        3. 列表前的标号,还可以设置列表文字的排列方式和间距 
        4.  
        5.  
        6. 1.用图片代替符号 
        7.  
        8. 在css中可以使用 list-style-p_w_picpath属性来修饰死板的标号,使列表变得更加生动. 
        9.  
        10. list-style-p_w_picpath属性可以作用在<li><ol><ul>标签 
        11.  
        12. 语法代码:list-style-p_w_picpath:none  || url ; 
        13.  
        14.  
        15.    1. >  
        16.    2. <html>  
        17.    3.   <head>  
        18.    4.     <title>文本样式title>  
        19.    5.   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  
        20.    6.   <link href="" type="text/css" rel="stylesheet"/>  
        21.    7.     <style type="text/css">  
        22.    8.