来源:3-7 编程练习

Daniel_

2014-10-12 15:51

哈哈成功鸟

<!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=gb2312" />
<title>3.1页面头部制作练习题</title>
<style type="text/css">
/*在此定义相关样式,控制列表的显示形式*/
.difficult a
{
       display:block;
         width: 50px;
         height: 30px;
         line-height:30px;
         text-align:center;
       }
.difficult li
{
    float:left;
    list-style-type:none;
  
    }
.difficult a:link,.difficult a:visited
{
    text-decoration:none;
    color:#000;
    
}
.difficult a:hover,.difficult a:active
{
    text-decoration:none;
    color:#FFF;
    background-color:#be3948;
    
    
}

</style>
</head>


写回答 关注

0回答

还没有人回答问题,可以看看其他问题

企业网站综合布局实战

本课程重点介绍HTML/CSS实现常见企业网站布局的方法

157072 学习 · 2157 问题

查看课程

相似问题