css自适应宽度高级写法:一行多列~~~某些列的宽度是固定值
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxgAAACdCAIAAAC4iknFAAAgAElEQVR4nO2d3VsTV7uH51/wqhKotnu7D7g82mk7aqr4gYpIwoegotgaLSqVSqHaWi2lNEoRG1+iSAFNXyBNP6zSr4DW19ai3dXDetWDHHhO/o/sgzWZzMealWRlZsIMv/t6DkyeyczzZJasm5UJI/wPAAAAAADgQih1AQAAAAAATgUiBQAAAADACUQKAAAAAIATiBQAAAAAACcskSovr7A07D8iwrpYCuOnhEdcvXp1eXn5MgBMory8fPXq1bmnCABALnKIVMc7PRaF0bRk3RER1oX9Z3OpHdHj8axZs0YEwCTWrFnj8XhyTxEAgFzkEKnWg8GaXQHTo/Vg0Ghaam0L1tQGEA6K1jbjs2n/+HHpEZctW1bqmRe4jWXLluWeIgAAucghUvsOHNqxs8702HfgkNG0ZNEREdaF/WdzCR4RIgVMByIFgCnkFKk3t9fsMj32HXjTeFqy5IgI68L+s7kEjwiRAqYDkQLAFHKI1N79b2zbUWt67N3/htG0tHf/wW07diIcFHv3HzQ+m/aPH9YRt9f4Pz3/2Xc3f4h/+92n5z/bXuO3+ohm9QiRAqYDkQLAFHKI1J7Wg9Xbd5oee1oNp96W1rat22sQDoqW1jajs2n/+GEfsT80cGXkWqChOdDQfGXkWn9owOojmtUjRAqYDkQKAFPIIVIt+w5s3bbD9GjZd8BQpPa1bd1Wg3BQtOwzFKkix09ff6jw8cM64rc3b/vrm+LffPf1tzf99U3f3rxtxojN0eOefQd+vf/g4aO/5Hjw8M8j7R0FHTFfkarpHh4Lv7Mz12ZNH10bv3h0M2uTIxdujPT685ySgROBSAFgCjlEqnnv/i3V2/Xhr288cPBN/fMHDr7pr2+kvkQZzXv3G01LRke0PE7++Nvz1FNlPPmxQ8qO3so8eSucfcn5O8pt8t/5s+sntbv9LX6aueWijmLO5qHDb41PRO/c/c/8o7/m7twbufbFwTcOk1TfJ5/OP/rL3CPGv/muL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OaQI/s5cUGOtYkQKlI5lUjRTVWodJOdWijBU5xzRhSaEZIFK25BzTBETK1SQVfz1Se/UNby6t/OuR2suEeHOOKdT2JoCLUJ1pzYnmzamGpPaqPStyjmnCkkIlIFK25BzTBETK7Si/gaI90bw58hOL/p0W3pxjCrW9CeAmlGeaNXoKySmHJOu/gBWUnEoAAAHaSURBVFk5xzRhSaHpdBo3LQYAAAAA4AYiBQAAAADACUQKAAAAAIATiBQAAAAAACcQKQAAAAAATiBSAAAAAACcQKQAAAAAADiBSAEAAAAAcAKRAgAAAADgBCIFAAAAAMAJRAoAAAAAgBOIFAAAAAAAJxApAAAAAABOIFIAAAAAAJxApAAAAAAAOIFIAQAAAABwApECAAAAAOAEIgUAAAAAwAlECgAAAACAE4gUAAAAAAAnECkAAAAAAE4gUgAAAAAAnECkAAAAAAA4gUgBAAAAAHACkQIAAAAA4AQiBQAAAADACUQKAAAAAIATiBQAAAAAACcQKQAAAAAATiBSAAAAAACcQKQAAAAAADiBSAEAAAAAcAKRAgAAAADgBCIFAAAAAMAJRAoAAAAAgBOIFAAAAAAAJxApAAAAAABOIFIAAAAAAJxApAAAAAAAOIFIAQAAAABwApECAAAAAOAEIgUAAAAAwAlECgAAAACAE4gUAAAAAAAnECkAAAAAAE4gUgAAAAAAnECkAAAAAAA4gUgBAAAAAHACkQIAAAAA4AQiBQAAAADACUQKAAAAAIATiBQAAAAAACcQKQAAAAAATiBSAAAAAACcQKQAAAAAADiBSAEAAAAAcFK8SP0/QaxTs/vlAKMAAAAASUVORK5CYII=" alt="" />
一行有5列,第2、4列宽度150px,其他3列平均分配剩下的宽度:
思路:设置1、3、5宽度为33.33%-100px,3列的宽度就是99.99%-300px,再加上2、4列的宽度和300px,5列的宽度和≈100%,用这个思路可以应付各种复杂的自适应布局。
方法:但是宽度没有33.33%-100px这种写法,所以要用marging减少宽度,还要padding来减少自己内容宽度,避免内容与旁边的重叠
注意:box-sizing: border-box;这个属性是保证宽度不受padding影响
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>col</title>
</head>
<style>
html,body{padding:0; margin:0}
div{ float:left; word-break:break-all}
.c2{width:150px;background:#FCF;}
.c4{width:150px;background:#0CF;}
.c1,.c3,.c5{
width:33.33%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.c3,.c5{
margin-left:-100px;
padding-left:100px;
}
.c1{
margin-right:-100px;
padding-right:100px;
}
</style>
<body>
<div class="c1">111111111111111111111111111111111111111111111111</div>
<div class="c2">2222222222222222222222222222</div>
<div class="c3">333333333333333333333333333333333333333333333333</div>
<div class="c4">4444444444444444444444444444</div>
<div class="c5">555555555555555555555555555555555555555555555555</div>
</body>
</html>
css自适应宽度高级写法:一行多列~~~某些列的宽度是固定值的更多相关文章
- delphi7列宽自定设置为固定值
- CSS自适应宽度的高级应用,一般人不会告诉你。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAxgAAACdCAIAAAC4iknFAAAgAElEQVR4nO2d3VsTV7uH51/wqhKotn
- css实现三列布局,左右固定值,中间自适应。
这里主要用到的是position:absolute;及margin属性;代码很简单,一看就明白. <!DOCTYPE html> <html lang="zh_CN&quo ...
- css 两列 左侧列固定 width: 100px; float: left; 右侧列自适应 margin-left:100px; 注意要用在div上的style
css 两列 左侧列固定 width: 100px; float: left; 右侧列自适应 margin-left:100px; 注意要用在div上的style .con1{ width: 100p ...
- 这可能是史上最全的CSS自适应布局总结教程
标题严格遵守了新广告法,你再不爽,我也没犯法呀!话不多说,直入正题. 所谓布局,其实包含两个含义:尺寸与定位.也就是说,所有与尺寸和定位相关的属性,都可以用来布局. 大体上,布局中会用到的有:尺寸相关 ...
- ## GridView 布局:item设置的高度和宽度不起作用、自动适配列数、添加Header和Footer ##
一.item设置的高度和宽度不起作用 转自:http://www.cnblogs.com/0616--ataozhijia/p/6031875.html [Android Pro] listView和 ...
- css 自适应布局阮一峰
转载一篇文章: 自适应网页设计(Responsive Web Design) 作者: 阮一峰 移动设备正超过桌面设备,成为访问互联网的最常见终端.于是,网页设计师不得不面对一个难题:如何才能在不同大小 ...
- css 自适应布局
转载一篇文章: 自适应网页设计(Responsive Web Design) 作者: 阮一峰 移动设备正超过桌面设备,成为访问互联网的最常见终端.于是,网页设计师不得不面对一个难题:如何才能在不同大小 ...
- div css 自适应
怎样实现响应式布局? 对于这个问题,我们可以通过CSS3中的Media Query来实现,即媒介查询.媒体查询让CSS可以更精确作用于不同的媒体类型和同一媒体的不同条件.媒体查询的大部分媒体特性都接受 ...
随机推荐
- 多个Class作用于同一个元素的结果分析
多个Class作用于同一个元素的结果分析 多个class作用于同一个元素出现样式冲突,因为权重相同,结果如何呢 [代码] <html> <head> <sty ...
- 关于Response.Redirect 端口不一致的跳转
如果内网和外网的端口号设置的不相同,那在使用Response.Redirect跳转的时候会无法成功.需要做以下设置: <system.web> <httpRuntime useFul ...
- php备份mysql的代码
1. mydb.php //DB类2. backup.php //备份脚本3. restore.php //还原脚本 mydb.php <?class db{ var $linkid;var $ ...
- Spring和SpringMVC父子容器关系初窥
一.背景 最近由于项目的包扫描出现了问题,在解决问题的过程中,偶然发现了Spring和SpringMVC是有父子容器关系的,而且正是因为这个才往往会出现包扫描的问题,我们在此来分析和理解Spring和 ...
- iOS 修改状态栏preferredStatusBarStyle不执行问题
一.在老版本的iOS中,状态栏永远都是白色风格.而在iOS 7中,我们可以修改每个view controller中状态栏的外观.通过UIStatusBarStyle常量可以指定状态栏的内容是暗色或亮色 ...
- MongoDB安装并随windows开机自启
MongoDB的官方下载站是http://www.mongodb.org/downloads,可以去上面下载最新的程序下来.在下载页面可以看到,对操作系统支持很全面,OS X.Linux.Window ...
- jquery的live转on的办法
<!DOCTYPE html> <html> <head> <script src="http://libs.baidu.com/jquery/1. ...
- CSS 布局
近日开发中,总感觉页面布局方面力不从心.以前也曾学过这方面的内容,但是不够系统,因此我打算整理一下. 在web 页面中一般有 table 和 css+div 两种布局方式. 其中css+div 又分为 ...
- How GitHub Works《Github是如何工作的?》
https://github.com/blog/920-how-github-works 如果你想知道Github是如何工作的,你可以看查看Zach Holman(@holman)的三篇文章: Hou ...
- ssh反向连接和简单实现
转自:http://blog.chinaunix.net/uid-20109107-id-2954579.html SSH反向连接的使用 1.什么是反向连接?反向连接是指主机A(受控端)主动连接主机B ...