Excuse me, experts:
When I use DIV, I use a small box to display in front of the title. Experts, how can I control the color and size of this small box?
My code is as follows:
<li style="list-style-position:inside; list-style-type:square;">标题前的图标颜色、大小的控制问题</li>
My code is as follows:
HTML code<li style="list-style-position:inside; list-style-type:square;">标题前的图标颜色、大小的控制问题</li>
Do you understand the list-style attribute? ? ?
Hey, I suggest you check the information to find out more
The size cannot be set, but it will change with the scaling of the page or font.
Also, which page of Sina did you say it was?
.list_009 li{padding-left:1em;background:url(http://i1.sinaimg.cn/dy/deco/2007/1211/yocc/unfcn_mj_01.gif) no-repeat 5px 50%;}
This is defined by Sina
The above is the detailed content of How to control the size and color of list-style-type:square in CSS?. For more information, please follow other related articles on the PHP Chinese website!