介绍了如何触发 BFC 以及 BFC 的一些用处(如清浮动,防止 margin 重叠等)一、BFC是什么? Box: CSS布局的基本单位 Box 是 CSS 布局的对象和基本单位, 直观点来说,就是一个页面是由很多个 Box 组成的。元素的类型和 display 属性,决定了这个 Box ...
分类:
其他好文 时间:
2014-08-22 17:46:29
阅读次数:
300
在IE6、IE7中不识别display:inline-block属性,但使用inline-block属性在IE下会触发layout,从而使内联元素拥有了display:inline-block属性的表症。从上面的分析也不难理解为什么IE6、IE7下对块元素设置
分类:
其他好文 时间:
2014-08-22 16:13:18
阅读次数:
189
代码如下:$smarty = new Smarty; $smarty->assign('yesterday', strtotime('-1 day')); $smarty->display('index.tpl'); index.tpl: {$smarty.now|date_format} {$sm...
分类:
其他好文 时间:
2014-08-22 12:22:36
阅读次数:
218
文章仅记录自己的一点理解,仅供自己参考。
每个显示设备,都有一个Display对象,DisplayManagerService专门管理这些Display。
1、DisplayContent()
DisplayContent(Display display, WindowManagerService service) {
mDisplay = display;
...
分类:
其他好文 时间:
2014-08-21 22:50:15
阅读次数:
300
here are aLCD (Liquid Crystal Display)onEzreal's arm. TheLCDis composed ofliquid crystal, and theLCDis16lines and48rows.How did it work?TheCPUwill sen...
分类:
其他好文 时间:
2014-08-21 18:36:34
阅读次数:
200
#dvbg{background-color:#666666; position:absolute; z-index:99; left:0; top:0; display:none; width:100%; height:1000px;opacity:0.5;filter: alpha(opaci....
网上看到的一个H264视频格式的解码測试程序,能够用来參考其逻辑流程。代码例如以下:Test_Display_H264(){in_fd = open(H264_INPUT_FILE, O_RDONLY); //video file openfstat(in_fd, &s); // get inpu....
分类:
其他好文 时间:
2014-08-21 11:24:23
阅读次数:
233
这里罗列常用操作,更多参考https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create%2FDrop%2FTruncateTable简单的创建表create table tab...
分类:
其他好文 时间:
2014-08-21 11:21:24
阅读次数:
234
ubuntu chrome tab and bookmark display chinese font crash reinstall chinese font with below command: $ sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy...
分类:
其他好文 时间:
2014-08-20 22:50:13
阅读次数:
217
3.1 视图简介3.1.1 选择待渲染视图3.1.2 重写视图名3.2 给视图传递数据3.2.1 ViewDataDictionary3.2.2 ViewBag3.2.3 带有视图模型的强类型视图3.2.4 在视图中显示视图模型数据3.3 使用强类型模板3.3.1 EditorFor和Display...
分类:
其他好文 时间:
2014-08-20 16:17:32
阅读次数:
135