一般给一个元素设置背景:.lcProIcon { background:
url("images/lcProIcon.png") no-repeat; display: inline-block; height: 56px;
left: 0; position: abs...
分类:
其他好文 时间:
2014-05-15 21:19:44
阅读次数:
333
display: block;inline;none;inline-block;段落缩进
text-indent:20pxfont: font-style font-weight font-size line-height
font-familyfamily: "xxx","xxxx","xxxxx...
分类:
Web程序 时间:
2014-05-15 17:52:29
阅读次数:
380
IE6/IE7下对display:inline-block的支持性不好。1、inline元素的display属性设置为inline-block时,所有的浏览器都支持;2、block元素的display属性设置为inline-block时,IE6/IE7浏览器是不支持的;
对象呈递为内联对象,但是对象...
分类:
其他好文 时间:
2014-05-15 10:19:18
阅读次数:
211
为了效率,copy算法可谓无所不用其极,通过分析copy算法能够体会STL的精妙。
首先是三个对外接口:
template // 泛化版本
inline OutputIterator copy(InputIterator first, InputIterator last,
OutputIterator result)
{
...
分类:
其他好文 时间:
2014-05-15 05:50:02
阅读次数:
315
视图和内联表值函数(inline
TVF)是两种可重用的表表达式,它们的定义储存在一个数据库对象中。一旦创建,这些对象就是数据库的永久部分;只有用删除语句显式删除,它们才会从数据库中移除。在其他很多方面,视图和内联表值函数的处理方式都类似于派生表和CTE。例如,当查询视图或内联TVF时,SQL
Se...
分类:
其他好文 时间:
2014-05-14 11:47:37
阅读次数:
264
登录只要放在主页就可以了,这里为了美观,把用bootstrap的form-inline类修饰,如下样子:
前台代码如下:
{%extends 'main.html'%}
{%block header%}
首页
成员
群聊
{%if not cookieName%}
用户名
密码
登录
无帐号,请点击注册
{...
分类:
其他好文 时间:
2014-05-13 06:01:54
阅读次数:
349
学习前端以来发现好多东西需要记忆,但又经常忘记,曾试着把内容记录在word文档中发现有时候又会忘记放在哪不是很方便。看到好多人写博客感觉不错,既可以方便自己查找又可以让其他人浏览以供交流......
废话不多说了,相信学过css的对display肯定不会陌生,我们经常通过设置display的值...
分类:
其他好文 时间:
2014-05-12 11:25:27
阅读次数:
349
.box{overflow:auto;zoom:1;}.box-in{display:inline-block;vertical-align:top;}.border-box{-webkit-box-sizing:
border-box;-moz-box-sizing: border-box;box...
分类:
Web程序 时间:
2014-05-12 06:14:48
阅读次数:
460
const string &shorterString(const string
&s1, const string &s2){return s1.size() < s2.size() ? s1 : s2;}inline
const string &shorterString(const strin...
分类:
编程语言 时间:
2014-05-09 05:56:56
阅读次数:
300