web前端|html教程
自适应,浏览器,两边,右边,宽度
web前端-html教程
按照图片那样的排版,但是,但是,错了。求正确写法?先谢谢各位啦~~~
不理解右边的那个宽度是怎么写的?还有不知道错了,是不是右边的宽度计算错误了?
淘宝客源码程序 站长,ubuntu 开发机 分区,注册表怎么修改tomcat,python爬虫爬网站,php中查询结果插入临时表,seo地图推送lzw
初试试题body {margin:0px 0px;padding:0px 0px;color:#fff; text-align:center;}#header {background:#0175ed;height:120px; line-height:120px;}#header, #footer, #container { margin: 0px auto; width: 100%;}#contentWrap { margin-left: -200px; float:right; width: 100%;background:#86aef7}#content { margin-left: 200px;}#side { float:left; width: 200px;background:#55a3f3;}#contentWrap,#side{min-height: 500px;height: auto !important;height: 500px;}#footer { clear: both;background:#0175ed;height:50px; line-height:50px;}
高度120px
右边宽度100%-200px
左边宽度200px
底部高度50px
手机设置源码,ubuntu叫优版图,怎么退出爬虫界,php bdd,青州 seo招聘lzw
回复讨论(解决方案)
php源码修复,vscode 结束终端,ubuntu运行apk程序,tomcat 运行ip,sqlite源码设置,excel 插件源码,技术中台前端框架,爬虫抓取app,php与xml,伪静态 对 seo,食品网站建站源码,网页flv播放器源码,邮箱登陆模板下载,微信公众平台登录页面下载,php 一套企业管理系统,php o2o开源程序lzw
右边宽度100%-200px
左边宽度200px –》
右边宽度100%-200px
左边宽度200px
width:100%
position: abusote;
left : 0px;
用padding-left:200px; 来占位吧
右边宽度100%-200px
左边宽度200px –》
右边宽度100%-200px
左边宽度200px
所以,你这个回复是什么意思呢?
左
高度 自适应 老的浏览器可能不行 所以要 写js计算把
左
高度 自适应 老的浏览器可能不行 所以要 写js计算把
右边=浏览器宽度-200px,这个怎么理解的呀?
这样做可以实现以上所说布局
初试试题body {margin:0px 0px;padding:0px 0px;color:#fff; text-align:center;}#header {background:#0175ed;height:120px; line-height:120px;}#header, #footer, #container { margin: 0px auto; width: 100%;}#right,#side{min-height: 500px;height: auto !important;height: 500px;}#side { float:left; width: 200px;background:#55a3f3;}#right { background:#86aef7}#footer { clear: both;background:#0175ed;height:50px; line-height:50px;}
高度120px
左边宽度200px
右边宽度100%-200px
底部高度50px
这样做可以实现以上所说布局
初试试题body {margin:0px 0px;padding:0px 0px;color:#fff; text-align:center;}#header {background:#0175ed;height:120px; line-height:120px;}#header, #footer, #container { margin: 0px auto; width: 100%;}#right,#side{min-height: 500px;height: auto !important;height: 500px;}#side { float:left; width: 200px;background:#55a3f3;}#right { background:#86aef7}#footer { clear: both;background:#0175ed;height:50px; line-height:50px;}
高度120px
左边宽度200px
右边宽度100%-200px
底部高度50px
是可以实现,但是,我想知道右边的宽度计算。你这个写法不对吧~~~