按照我的理解,其实圣杯布局跟双飞翼布局的实现,目的都是左右两栏固定宽度,中间部分自适应。但在这里实现起来还是有一些区别的【圣杯布局】在这里,实现了左(200px) 右(220px) 宽度固定,中间自适应,container部分高度保持一致。DEMO稍微说明一下:html代码中 middle部分首先要...
分类:
Web程序 时间:
2015-04-20 16:49:41
阅读次数:
126
上一节简单介绍了tomcat中的流水线,当connector收到一条消息的时候,将socket交给processor来处理,processor构造出来request和response对象并解析http请求,然后processor调用container的的invoke方法来处理这两个对象。invoke方法是父类ContainerBase中的方法,主要是调用该Container对应的Pipeline处...
分类:
其他好文 时间:
2015-04-19 11:36:37
阅读次数:
185
1、用户的文字大小与弹性布局一般情况下用户的浏览器默认渲染的文字大小是“16px”,弹性设计的关键在于页面中所有元素都使用“em”单位值,“em”是一个相对大校相对的计算都会有一个参考物,那么这里相对所指的是相对于元素父元素的font-size。例如:<divid="container">..
分类:
Web程序 时间:
2015-04-19 06:42:42
阅读次数:
142
<nav?class="navbar?navbar-default?navbar-fixed-top?navbar-inverse">
?????????
?????????<div?class="container">
?????????????<div?class="navbar-header">
???...
分类:
其他好文 时间:
2015-04-19 01:15:16
阅读次数:
171
Container With Most Water
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i ...
分类:
其他好文 时间:
2015-04-18 17:44:43
阅读次数:
128
highcharts api 中文网
地址:http://www.hcharts.cn/demo/index.php?p=10&theme=skies
代码示例
$(function () {
$('#container').highcharts({
title: {
text: 'Monthly Aver...
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2015-04-17 18:05:48
阅读次数:
104
var container = Ext.create('Ext.Container',{ fullscreen:true, html: 'This container is scrollable!', scrollable:{direction:'vertical'}})
分类:
其他好文 时间:
2015-04-17 18:04:08
阅读次数:
117
观察者模式:在对象之间定义一对多的依赖,这样一来,当一个对象改变状态,依赖它的对象都会收到通知,并自动更新。——《HEAD FIRST 设计模式》 我的golang代码: package observer import ( "container/list" "fmt"
) type Subject ...
分类:
其他好文 时间:
2015-04-17 01:01:15
阅读次数:
126
Spring 是一个开源框架,是为了解决企业应用程序开发复杂性而创建的。框架的主要优势之一就是其分层架构,分层架构允许您选择使用哪一个组件,同时为 J2EE 应用程序开发提供集成的框架。 Spring的核心是一个轻量级(Lightweight)的容器(Container),它是实现IoC(In...
分类:
编程语言 时间:
2015-04-16 23:35:19
阅读次数:
259