上一页 1 ··· 9 10 11 12 13
摘要: 使用alternatives命令完成,必须具有root权限。alternative命令介绍alternatives version 1.3.30.2 - Copyright (C) 2001 Red Hat, Inc.This may be freely redistributed under the terms of the GNU Public License.usage: alternatives --install [--initscript ] [--slave ]* alternatives --remove alternatives --auto alterna... 阅读全文
posted @ 2012-10-30 16:51 barbabravo 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-09-09 10:29 barbabravo 阅读(191) 评论(0) 推荐(0) 编辑
摘要: (一)margin-top失效 先看下面代码:float:leftclear:both; margin-top:20px;两个层box1和box2,box1具有浮动属性,box2没有,这时候设置box2的上边距 margin-top没有效果www.Poluoluo.comfloat:leftclear:both; margin-top:20px; [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]网上能找到的两种比较靠谱的解释:1:“在css2.1中,水平的margin不会被折叠;垂直margin可能在一些盒模型中被折叠…”2:当第一个层浮动,而第二个没浮动层的margin会被压. 阅读全文
posted @ 2012-09-02 13:18 barbabravo 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 在使用单点登录的时候遇到了这个问题,在tuan.xxx.com下存在一个名为name的cookie,同时在.xxx.com父域下也存在同名的name的cookie。在获取cookie时,在IE和Firefox中出现了不同的结果,导致单点登录在ie下面失败,火狐下面正常。情况分析:tuan.xxx.com下的页面读取cookie的情况如下:1.在IE中,会将子域的cookie和父域的cookie合并在一起读出,谁在前就取那个的值,我的情况是是主域(xxx.com)在前生成,读取的就是之主域的值。2.在Firefox中,tuan.xxx.com子域下的页面读取cookie的情况规则相同,tuan. 阅读全文
posted @ 2012-08-19 18:48 barbabravo 阅读(430) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13