问道html网页设计的题目,帮帮忙啊,谢谢啦

一把米 2011-01-03 07:20:51
第一段代码:<head>……
<link type="text/css" rel="stylesheet" href="a.css">
</head>
<body>
嵌入一层的列表:
<ul class=A>
<li>肉类
<li>蔬菜
<ol class=A>
<li><b><i><font color="red">番茄</font></i></b>
<li><b><i><font color="red">青菜</font></i></b>
</ol>
<li>酒类
</ul>
第二段代码(a.css)
ul.A{list-style-type:disc;}
ol.A{background-color:blue;color:red;background-color:#9999FF;font-style:italic;font-decoration:none;}
现在我想让这段代码呈现http://student.csdn.net/space.php?uid=1513624&do=album&picid=41844的这个图的效果,要怎么修改代码啊?
...全文
56 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
passself 2011-01-07
  • 打赏
  • 举报
回复
楼主直接找类似的源代码吧,比如叫左侧列表

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>4-4-1</title>
<style type="text/css">
*{margin:0;padding:0;}
body { font-size: 13px; line-height: 130%; padding: 60px; }
#content { width: 220px; border: 1px solid #0050D0;background: #96E555 }
span { width: 200px; margin: 10px; background: #666666; cursor: pointer;color:white;display:block;}
p {width:200px;background:#888;color:white;height:16px;}
</style>
</head>
<body>
<div id="content">
外层div元素
<span>内层span元素</span>
外层div元素
</div>

<div id="msg"></div>
</body>
</html>

1,451

社区成员

发帖
与我相关
我的任务
社区描述
多媒体/设计/Flash/Silverlight 开发 图象工具使用
社区管理员
  • 图象工具使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧