我在dw中做了一个无序列表,结果在浏览器中项目符号跑到文字后面去了,这是什么原因?求高手解答!
答案:1 悬赏:20 手机版
解决时间 2021-11-28 08:53
- 提问者网友:十年饮冰
- 2021-11-27 23:13
我在dw中做了一个无序列表,结果在浏览器中项目符号跑到文字后面去了,这是什么原因?求高手解答!
最佳答案
- 五星知识达人网友:不如潦草
- 2021-11-28 00:20
你可以试一试,把列表前的符号当做背景图来做,比如:
#tu {float: left;height: 80px;width: 304px;position: absolute;left:340px;top: 285px;}
#tu ul li{float: left;height: 30px;width: 160px; background:url(../index9.gif) no-repeat center left; padding-left:20px;}
#tu ul li a {display: block;float: left;height: 30px;width: 160px;font-size: 20px;line-height: 30px;color: #000;text-decoration: none;font-family: "微软雅黑";font-weight: bold;}
#tu {float: left;height: 80px;width: 304px;position: absolute;left:340px;top: 285px;}
#tu ul li{float: left;height: 30px;width: 160px; background:url(../index9.gif) no-repeat center left; padding-left:20px;}
#tu ul li a {display: block;float: left;height: 30px;width: 160px;font-size: 20px;line-height: 30px;color: #000;text-decoration: none;font-family: "微软雅黑";font-weight: bold;}
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯