zoukankan
html css js c++ java
树型列表的实现
<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
>
<
html
>
<
head
>
<
meta
http-equiv
="Content-Type"
content
="text/html; charset=gb2312"
>
<
title
>
树型列表的实现
</
title
>
<
style
type
="text/css"
>
<!--
ul.tree, ul.tree ul
{
}
{
list-style-type
:
none
;
}
ul.tree, ul.tree ul
{
}
{
list-style-type
:
none
;
background
:
url(http://www.ximicc.com/attachments/month_0803/42008320133339.jpg) repeat-y
;
margin
:
0
;
padding
:
0
;
}
ul.tree ul
{
}
{
margin-left
:
10px
;
}
ul.tree li
{
}
{
margin
:
0
;
padding
:
0 12px
;
}
ul.tree, ul.tree ul
{
}
{
list-style-type
:
none
;
background
:
url(http://www.ximicc.com/attachments/month_0803/42008320133339.jpg) repeat-y
;
margin
:
0
;
padding
:
0
;
}
ul.tree ul
{
}
{
margin-left
:
10px
;
}
ul.tree li
{
}
{
margin
:
0
;
padding
:
0 12px
;
line-height
:
20px
;
background
:
url(http://www.ximicc.com/attachments/month_0803/n200832013377.jpg) no-repeat
;
color
:
#369
;
font-weight
:
bold
;
}
ul.tree li.last
{
}
{
background
:
#fff url(http://www.ximicc.com/attachments/month_0803/0200832013458.jpg) no-repeat
;
}
-->
</
style
>
</
head
>
<
body
>
<
ul
class
="tree"
>
<
li
>
Animals
<
ul
>
<
li
>
Birds
</
li
>
<
li
>
Mammals
<
ul
>
<
li
>
Elephant
</
li
>
<
li
class
="last"
>
Mouse
</
li
>
</
ul
>
</
li
>
<
li
class
="last"
>
Reptiles
</
li
>
</
ul
>
</
li
>
<
li
class
="last"
>
Plants
<
ul
>
<
li
>
Flowers
<
ul
>
<
li
>
Rose
</
li
>
<
li
class
="last"
>
Tulip
</
li
>
</
ul
>
</
li
>
<
li
class
="last"
>
Trees
</
li
>
</
ul
>
</
li
>
</
ul
>
</
body
>
</
html
>
原文来自:
http://www.ximicc.com/article.asp?id=87
查看全文
相关阅读:
生成器
迭代器
装饰器
闭包函数
函数对象
函数
文件
字符编码
基本的数据类型和内置方法02
基本的数据类型和内置方法01
原文地址:https://www.cnblogs.com/youth0826/p/1233951.html
最新文章
ajax 200 4 parseerror的一个问题
解决 Intellij IDEA Cannot Resolve Symbol ‘XXX’ 问题
centos7 开放3306端口并可以远程访问
mysql远程连接 Host * is not allowed to connect to this MySQL server
Can 't connect to local MySQL server through socket '/tmp/mysql.sock '(2) "
Centos7 安装配置mysql5.6
mac nginx 启动 自启动
Mac环境 安装brew
idea 2018.1 for mac JRebel破解
Mac支持ntfs格式的移动硬盘读写操作
热门文章
linux安装jdk1.8(rpm方式)
day4 流程控制
day5--基本数字类型及内置方法--数字类型和字符串
day3----输出之格式化输出
day3-----python中基本的数据类型
day3---用户交互,input的应用
day2编程语言发展史
day1.计算机基础
Day 3,学习的知识点
Day 1
Copyright © 2011-2022 走看看