- 浏览: 2569070 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (1286)
- js-oop (2)
- js-window (10)
- js-event (19)
- js-string (37)
- js-array (27)
- js-page (4)
- js-dom (62)
- js-lang (8)
- js-number (7)
- js-platform (3)
- js-object (15)
- js-element (3)
- js-browser (7)
- js-url (6)
- js-date (10)
- css基础 (48)
- css优化 (15)
- html基础 (17)
- html标签 (19)
- js基础 (117)
- js-兼容性差异 (33)
- js引擎 (3)
- js性能 (14)
- json (6)
- jQuery源码浅析 (43)
- web mobile开发资料 (78)
- js跨域 (2)
- html5 (74)
- html5-canvas (7)
- css3 (53)
- 浏览器 (5)
- api设计学 (3)
- js-加载 (3)
- linux (37)
- 架构师 (1)
- php (2)
- self开发的脚本库--凤凰 (2)
- web应用名词 (6)
- javascript新特性翻译 (8)
- ajax (6)
- jQuery动画效果 (7)
- prototype的解读 (13)
- 优秀插件翻译 (1)
- css解决方案 (26)
- 数据库 (2)
- english daily (59)
- 浏览器内核探究 (1)
- jQuery插件介绍 (9)
- jquery基础篇 (26)
- chrome浏览器问题整理 (14)
- js选择器那些事 (3)
- 前端框架 (26)
- Firefox私有属性 (11)
- webkit私有属性集合 (17)
- 书籍推荐 (21)
- 数据结构 (1)
- 网站建设相关 (7)
- 好文翻译 (2)
- 个人作品 (3)
- kissy的解读 (4)
- css-layout(布局研究) (5)
- less研究 (1)
- YUI探究 (1)
- hash探究 (1)
- js动画 (7)
- 前端面试题 (37)
- css书写规范 (1)
- js模板引擎 (6)
- js模块化 (19)
- 编写高质量代码 (3)
- 性能探究--应用协议 (2)
- 前端图像处理 (19)
- Mac OS相关 (21)
- 正则表达式 (11)
- 离线应用相关 (0)
- 前端工具 (65)
- nodeJS (55)
- jquery优化篇 (2)
- 设计模式探究系列 (3)
- windows7 (2)
- IE10 (10)
- 微博开放平台探究 (2)
- 常用web服务接口 (1)
- 数据存储相关 (8)
- 零时文件 (2)
- jQuery Mobile (16)
- backbone (15)
- underscore (22)
- sass (11)
- android (3)
- phonegap (10)
- IE私有 (11)
- qwrap (8)
- git (14)
- chrome extensions (5)
- freemarker (11)
- angularJS (3)
- seo (2)
- markdown (3)
- css动画 (4)
- 安卓开发 (2)
- React (7)
- 活动页技术 (1)
- 网络安全 (3)
- grunt (7)
- Lo-Dash (3)
- 前端国际化 (4)
- 版本控制 (2)
- 盒模型 (4)
- 微信开发 (1)
- Mock数据工具 (1)
- sails (1)
- vim (1)
- js-color (1)
- iOS 基础 (43)
最新评论
-
jertom:
<div id="showInfo" ...
addEventListener等事件监听的参数细谈 -
乌托邦国王:
引用[u][/u]
css3动画属性系列之transform细讲移动translate -
hvang1988:
能提供附件下载吗,找不到js库,google封了访问不了
Syntaxhighlighter---代码高亮插件介绍 -
sscsacdsadcsd:
我的天 那到底是为什么function是object我看und ...
typeof func ==='function'的疑惑 -
wkjiangwk:
试了,没用,你们从不去测试。
介绍一下x-webkit-speech -------实现语音输入
CSS table-layout 属性
-----------------用来显示表格单位格、行、列的算法规则。
- 固定表格布局:
---------相比自动表格布局,允许浏览器更快地对表格进行布局。
---------水平布局仅取决于表格宽度、列宽度、表格边框宽度、单位格间距,而与单元格内容无关。
- 自动表格布局:
---------列的宽度是由列单元格中没有折行的最宽的内容设定的。
---------算法比较慢。需要在确定最终的布局之前访问表格中所有的内容。
auto |
yes |
CSS2 |
object.style.tableLayout="fixed" |
浏览器支持
所有浏览器都支持 table-layout 属性。
注释:任何的版本的 Internet Explorer (包括 IE8)都不支持属性值 "inherit"。
可能的值
值
描述
automatic
默认。列宽度由单元格内容设定。
fixed
列宽由表格宽度和列宽度设定。
inherit
规定应该从父元素继承 table-layout 属性的值。
发表评论
-
css 基础之 em 与 rem
2017-02-27 14:03 938em 和 rem 都是相对单位,由浏览器转换为 ... -
css之counter-increment
2014-03-31 18:40 1215CSS 之 counter-increment ... -
css基础之clip属性
2014-03-06 22:03 1056本文介绍一下css的clip属性: ... -
css之initial
2013-11-02 21:04 1106本文来自:https://developer. ... -
position为relative的限制
2013-10-25 15:39 1358本文主要来自:http://www.pl ... -
css opacity属性
2013-04-10 17:12 0内容参考:http://www.dreamd ... -
css基础之text-decoration
2013-02-26 16:19 1353前言: 先看一个app的效 ... -
css伪元素之:first-line
2013-01-15 14:10 1316:first-line -- ... -
css伪元素之:first-letter
2013-01-15 14:11 1308:first-letter ... -
css伪元素之:after
2013-01-14 15:40 1410:after --- ... -
css伪元素之:before
2013-01-14 15:32 1534:before -- ... -
css之ime-mode
2012-08-02 16:21 1833css之ime-mode ---------- ... -
CSS unicode-bidi属性
2012-05-27 17:27 2036CSS unicode-bidi属性 un ... -
整理部分IE hack
2012-05-19 19:25 1485前面也简单地写过一篇简单整理IE的hack,但是那篇只是简单地 ... -
浅谈css3的书写顺序
2012-05-11 16:04 1566前言: 最近一直在写css规范的文档,关于 ... -
热门前端面试题之link与import方式的区别
2012-05-11 13:58 2167写css规范的文档的时候,很多人都会推荐css文件的引入方式尽 ... -
css vertical-align属性
2012-03-25 11:30 1660CSS vertical-align 属性 -- ... -
css伪类
2012-02-16 20:46 1520CSS 伪类 (Pseudo-classes) ... -
css后代选择器
2012-02-16 20:47 1488CSS 后代选择器 ----------- ... -
css相邻兄弟选择器
2012-02-14 14:56 1928CSS 相邻兄弟选择器 ------- ...
相关推荐
今天来和大家详细说一下table-layout属性的用法。 /*eg:设置表格布局算法*/ table{ table-layout:fixed; } ***本文关键词:table-layout属性值、定义和用法、固定表格布局、自动表格布局。 1定义和用法 ...
之所以拿出这个来说事,是因为看到一篇文章Tips for Authoring Fast-loading HTML Pages,提到了table-layout。 先来看看w3school上关于table-layout的介绍: 定义和用法 tableLayout 属性用来显示表格单元格、行...
Table Layout in CSS 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
This concise guide takes you on a deep dive into the concepts necessary for understanding CSS and tables in your web layout, including table formatting, cell alignment, and table width. Short and ...
Table.Layout.in.CSS.2016.6.pdf
早在 90 年代,布局是使用表格 ( <table> ) 完成的,表格具有行 ( <tr> ) 和行细分 ( <td> )。 然而,由于几个原因,这是有问题的。 布局被硬编码到页面中 - 无法轻松调整。 作为 (1) 的结果,在多个页面之间保持...
Table Layout in CSS 英文mobi 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
Table Layout in CSS 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn...
本文讲的等高布局是在不手动设置元素高度的情况下,使用纯css实现各个... .table-layout-container{ width: 50%; margin: 20px auto; } .table-row-layout{ /* 当元素display设置为table-row后,再设置宽度就没有
对于一个table,兼容IE与FF、Chrome的省略方式CSS写法: 复制代码代码如下: table{ width:200px; table-layout: fixed; } .autocut{ overflow:hidden; white-space:nowrap; text-overflow:ellipsis; -o-text-...
在table中加入 style="WORD-WRAP: normal;TABLE-LAYOUT: fixed;word-break:normal" 总结如下.
heightmax-heightmin-heightwidthmax-widthmin-width 布局 Layout clearfloatclipoverflowoverflow-xoverflow-ydisplayvisibility 外补丁 Margins marginmargin-topmargin-rightmargin-bottommargin-left ...
<title>ASP简易留言板--ASP simple postboard v1.21 <style type="text/css"> ...td { table-layout:fixed; word-break :break-all; font-family:"宋体"; font-size: 12px; line-height: 15px; }
many of whom have never had the grave displeasure of dealing with nested table layouts and spacer GIFs.So how are these web developers learning CSS? Most often, they are self-taught. They’ve picked ...
How to handle fundamentals like adding styles to HTML/XHTML as well as rule structure, style precedence, element classifications and display roles, visual layout, and floating and table layouts ...
Flying Saucer生成pdf文档jar包 ,已做修改,支持中文 换行,但是 table标签换行 请改用CSS 样式:style="table-layout:fixed; word-break:break-strict;
table-layout: table-layout属性有两种特定值: auto(预设值)-表格的总宽度决定每一个储存格(cell)的最大值 fixed – 表格的总宽度决定于表格width的定义,以及各栏位(column)width的定义, 没有定义宽度就平分...