硅谷海盗 2016-05-13 13:17 采纳率: 9.1%
浏览 1265

我的是纯html和css的问题,是连接不了的问题,源代码如下,左侧的连接不管用拜托指导。

 <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>This My First Web</title>

    <meta charset="utf-8" />
    <style >
         .title{
            border:2px solid black;
            position:fixed; 


            width:1350px;
            //background-color:gray;
            top:0px;
        }
            ul
              {
               list-style-type:none;
               margin:0;
               padding:0;
               text-align:center;
             }
           ul a
              {
                display:block;
                width:150px;
              }


        .index {
                border : 2px solid black;

                     position:absolute;
                  top:84px;
                  float :left;
                  height:450px;
                  width:150px;

        }
        .daohang{
            font-size:large;

        }

        .backgrount{
            background-image:url(1.jpg);
        }
        .main{
            position:absolute;
             float:right;
            text-align:center;
            border:2px solid black;
            height:450px;
            width:1350px;
            top:84px;

        }
        .botton{
                   position:absolute;
                 border:2px solid black;
                 width:1350px;
                 height:70px;

                 bottom:0px;
              }
    </style>
</head>
<body class="backgrount">



        <div>
            <div class="title"><h1>&emsp;&emsp;&emsp;&emsp;
                  <a href="http://wwww.baidu.com" target="_blank">HOME</a>
                  <a href="http://www.youku.com" target="_blank"> VIDOL</a>
                    <a href="http://image.baidu.com" target="_blank">PICTURE</a>          
                 </h1>

               </div>
             <div class="index">
                <ul>
                    <li class="daohang"><a href="http://www.baidu.com" target="_blank">css</a></li>
                    <li class="daohang"><a href="http://www.w3school.com.cn/html/index.asp" target="_blank">html</a></li>
                    <li class="daohang"><a href="http://www.w3school.com.cn/b.asp" target="_blank">javascript</a></li>
                </ul>
            </div>
            <div class="main">
                <p>this is  main idear you think you are a good hero!!!</p>
                <p>
                    Welcome to hello world! Now you will see a diffrient world,and a very cool netweb!!!
                    Ara you realdy to see the amaziding!!!

                </p>

            </div>
            <div class="botton">
                <p style=" color:red;">
                  &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &emsp; &copy; 版权所有归华庆责任有限公司   2016.05.13 
                </p>

            </div>
        </div>

</body>
</html>

  • 写回答

2条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog