The whole page displays with a fixed width of pixels. It does not consider the resolution of the screen and the browser's display resolution.
A example of this pattern would be http://www.apple.com/support/
In this case, the user will see the page with the same width of pixels, no matter what the resolution of his browser is.
Pros:
1. The user under different kind of resolution will have the same feeling.
2. From implementation point of view, because the outer most container has a fixed width, it is rather easy to calculate the content's position.
Cons:
1. If the user's screen is bigger than the width, then there will be margins on left and right, which looks kind of ugly.
2. If the user's screen is smaller than the width, then the user has to resort to the horizone scrool bar to see the full screen, which is kind of inconvenient.
Implementation:
The css to control the width:
width: 980px;
margin: 0px auto; /* to let it display in the middle*/
In http://www.apple.com/support/
, they put the css on the div of header, container, and footer.
In http://www.sina.com.cn/
, they give a container div with a fixed width, and every thing is in it.
Related Patterns:
- 大小: 391.1 KB
分享到:
相关推荐
前端开源库-fixed-width-string固定宽度字符串,终端支持ANSI的字符串适合固定宽度
Text :: FixedWidth是一个Perl模块,它提供了一个简单的面向对象的界面来解析和处理固定的列宽文本文件。 该模块当前公开三个公共方法:new,print_all和select_distinct。
资源分类:Python库 所属语言:Python 资源全名:delimited2fixedwidth-1.0.7.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
Fixed table header appropriate with width of columns (table body) and you still can use sort on columns. Scroll down your page and see!
the handbook of fixed income securities the handbook of fixed income securities the handbook of fixed income securities
输入: - 文件名(字符串):要打开的文件名(必须包含扩展名) - startline (int): 从哪里开始阅读- number_of_lines (int): 你要阅读的行数- columns_width (vector):一个包含每列宽度的向量。 (列的宽度是其...
从定宽文件中导入数据
这是一个解决fixed在iframe中失效的解决案例,只要把文件放到编辑器中打开即可看到效果
Fixed Parameter Algorithms ppt slides from Venkatesh Raman ppt 课件
table固定左侧多列,画面中可对多个table进行固定,谷歌、ie都试过没... width:800,//显示宽度 height:300,//显示高度 fixColExtraWidth:11//额外追加显示宽度,不需要可设为0 }); (注:table中要含有thead、tbody)
Fixed Income.pdf 介绍固定收益的 Fixed Income.pdf 介绍固定收益的
fixed-columns表格固定列。
一般的IE6 fixed都会抖动,很难看,童叟无欺,绝对不抖动
ARM Functional Fixed Hardware Specification
Virus Fixed Position 1.5 最新原版程序
Fixed-Point Arithmetic: An Introduction Randy Yates
fastadmin 表格添加固定表头 bootstrap-table-fixed-columns所需插件
Fixed Income Securities, 3rd Edition
表头浮动(table header fixed).兼容性强