会员可以在此提问,百战程序员老师有问必答
对大家有帮助的问答会被标记为“推荐”
看完课程过来浏览一下别人提的问题,会帮你学得更全面
截止目前,同学们一共提了 132578个问题

微信截图_20240418010658.png

Python 全系列/第六阶段:生产环境部署与协同开发/Linux基本命令 23926楼
Python 全系列/第一阶段:Python入门/序列 23927楼
Python 全系列/第一阶段:Python入门/控制语句 23928楼
Python 全系列/第十一阶段:重量级Web框架-Django/Django高级 23930楼
Python 全系列/第一阶段:Python入门/Python入门(动画版) 23931楼
Python 全系列/第一阶段:Python入门/面向对象 23932楼

<style>
        .container{
            width: 1400px;
            height: 1400px;
            margin: 0 auto;
            background-color: brown;
        }
        .header{
            height:80px;
            background-color: antiquewhite;
        }
        .nav{
            height:80px;
            margin-top: 10px;
            background-color: antiquewhite;
        }
        .main{
            height:80px;
            margin-top: 10px;
        }
        .left{
            float: left;
            width: 900px;
            height: 600px;
            background-color: bisque;
        }
        .right{
            float: right;
            width: 480px;
            height: 600px;
            background-color: antiquewhite;
        }
        .footer{
            height: 80px;
            margin-top: 10px;
            background-color: bisque;
        }
        
 </style>
 <body>
   
    <div class="container">
        <div class="header">网站头部</div>
        <div class="nav">网站导航</div>
        <div class="main">
            <div class="left">主要内容</div>
            <div class="right">侧边栏</div>
        </div>
        <div class="footer">网站底部</div>

    </div>
</body>
跟着老师敲的代码,怎么运行出来最后一个footer容器怎么是这样显示的

image.png

WEB前端全系列/第一阶段:HTML5+CSS3模块/HTML5新增元素 23933楼
Python 全系列/第一阶段:Python入门/控制语句 23935楼
Python 全系列/第一阶段:Python入门/编程基本概念 23937楼
JAVA 全系列/第一阶段:JAVA 快速入门/JAVA入门和背景知识 23938楼
JAVA 全系列/(旧的隐藏)第十五阶段:百战商城项目(Spring Cloud最新架构)/百战商城项目 23939楼
Python 全系列/第十五阶段:Python 爬虫开发/移动端爬虫开发- 23940楼

课程分类

百战程序员微信公众号

百战程序员微信小程序

©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园
网站维护:百战汇智(北京)科技有限公司
京公网安备 11011402011233号    京ICP备18060230号-3    营业执照    经营许可证:京B2-20212637