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

微信截图_20240418010658.png

Python 全系列/第七阶段:生产环境部署与协同开发/Linux基本命令 24003楼
Python 全系列/第一阶段:AI驱动的Python编程/序列 24004楼
Python 全系列/第一阶段:AI驱动的Python编程/控制语句 24005楼
Python 全系列/第十一阶段:重量级Web框架-Django/Django高级 24007楼
Python 全系列/第一阶段:AI驱动的Python编程/Python入门(动画版) 24008楼
Python 全系列/第一阶段:AI驱动的Python编程/面向对象 24009楼

<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新增元素 24010楼
Python 全系列/第一阶段:AI驱动的Python编程/控制语句 24012楼
Python 全系列/第一阶段:AI驱动的Python编程/编程基本概念 24014楼
JAVA 全系列/第一阶段:AI驱动的JAVA编程/JAVA入门和背景知识 24015楼

课程分类

百战程序员微信公众号

百战程序员微信小程序

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