网站首页之早期布局

网站首页之早期布局方法,虽然现在基本不用了,但是我感觉还是应该知道的,说你不定哪一年的哪一天这种布局格式又火了。不排除这种可能,就像十年之前非常流行的喇叭裤一样,说不定十年之后这种网站布局方式又火了呢?,至少值得收藏。当然,后期还会给出目前计算机行业比较流行的网站布局方式。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!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" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>float</title>
    <style type="text/css">
    *{
        margin: 0px;
        padding: 0px;
    }
    .index{
        width: 960px;
        margin: 0px auto;
    }
    .logo{
        height: 160px;
        background-color: red;
    }
    .nav{
        height: 45px;
        background-color: green;
    }
    .scroll{
        height: 30px;
        background-color: yellow;
        line-height: 30px;
    }
    .con{
        height: 450px;
        background-color: skyblue;
    }
    .con-left{
        float: left;
        width: 36%;
        height: 450px;
        background-color: #123;
    }
    .con-center{
        float: left;
        width: 36%;
        height: 450px;
        background-color: red;
        margin-left: 0.5%;
    }
    .con-right{
        float: right;
        width: 27%;
        height: 450px;
        background-color: #789;
    }
    .top{
        height: 223px;
        background-color: #afc;
    }
    .bottom{
        margin-top: 5px;
        height: 222px;
        background-color: #d0f;
    }
    .footer{
        height: 55px;
        background-color: #254;
    }
    </style>
</head>
<body>
    <div class="index">
        <div class="logo"></div>
        <div class="nav"></div>
        <div class="scroll">
            <marquee behavior="" direction="">重要通知</marquee>
        </div>
        <div class="con">
            <div class="con-left">1</div>
            <div class="con-center">2</div>
            <div class="con-right">
                <div class="top">
                    
                </div>
                <div class="bottom">
                    
                </div>
            </div>
        </div>
        <div class="footer"></div>
    </div>
</body>
</html>

  效果图在这儿,太丑,但是技术真的很实在。

posted @   有深度  阅读(263)  评论(0编辑  收藏  举报
编辑推荐:
· dotnet 源代码生成器分析器入门
· ASP.NET Core 模型验证消息的本地化新姿势
· 对象命名为何需要避免'-er'和'-or'后缀
· SQL Server如何跟踪自动统计信息更新?
· AI与.NET技术实操系列:使用Catalyst进行自然语言处理
阅读排行:
· dotnet 源代码生成器分析器入门
· 官方的 MCP C# SDK:csharp-sdk
· 一款 .NET 开源、功能强大的远程连接管理工具,支持 RDP、VNC、SSH 等多种主流协议!
· 一文搞懂MCP协议与Function Call的区别
· 一次Java后端服务间歇性响应慢的问题排查记录
点击右上角即可分享
微信分享提示