本文介绍了增加列表样式项目符号类型的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法增加只是使用CSS的项目符号列表风格类型的大小?我不想增加子弹文本的大小,只是子弹类型。我也不能使用图像或JavaScript。它必须是嵌入< head> 标签内< style> p>

解决方案

在旧版IE中可能无法使用。



li:before {content:'\00b7'; font-size:100px; }





对于IE6:



没有javascript或图片,我建议将< span>&#183;< / span>

Is there a way to increase the size of just the bullet list-style-type using CSS? I don't want to increase the size of the bullet text, just the bullet type. I can't use images or JavaScript either. It has to be something I can embed inside <style> tags within the <head> tag.

解决方案

Might not work in old version of IE.

li:before{ content:'\00b7'; font-size:100px; }

Demo

For IE6:

Without javascript or images, I would recommend putting a <span>&#183;</span> in the beginning of every list item and styling that.

这篇关于增加列表样式项目符号类型的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 10:06