posted @ 2012-07-13 03:15 erlan80 阅读(1042) 评论(0) 推荐(2)
摘要:
昨晚在看一个网站的代码的时候,我发现那个网站去掉ul的列表符采用list-style:none outside none;我平常都是用list-style:none;那为什么要这么用呢?原因是:在IE6,7中,与list-style:none的表现一模一样.在IE6,7中当UL具有float和display:inline属性后,设置了list-style:none,则list-style-position也默认为inside了,即列表符被隐藏,但是仍然留有位置(list-style-position:inside);当UL不具有float和display:inline;时,无论有没有list- 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Collections;using System.Web;using System.Web.Caching;namespace My.Bll{ public class BllCache { /* //由 CacheItemPriority 枚举表示。缓存在退出对象时使用该值;具有较低成本的对象在具有较高成本的对象之前被从缓存移除。 //public enum CacheItemPriority //{ // AboveNormal = 4, 阅读全文
posted @ 2012-04-05 04:16 erlan80 阅读(640) 评论(0) 推荐(0)
摘要:
document.execCommand() 解析 2009-07-30 11:04:59| 分类: JS | 标签: |字号大中小 订阅 . 2D-Position 允许通过拖曳移动绝对定位的对象。 AbsolutePosition 设定元素的 position 属性为“absolute”(绝对)。 BackColor 设置或获取当前选中区的背景颜色。 BlockDirLTR 目前尚未支持。 BlockDirRTL 目前尚未支持。 Bold 切换当前选中区的粗体显示与否。 BrowseMode 目前尚未支持。 Copy 将当前选中区复制到剪贴板。 CreateBookmark 创建一个书签锚 阅读全文
posted @ 2011-10-04 05:44 erlan80 阅读(392) 评论(0) 推荐(0)
摘要:
:after 可以不让里面有滚动元素超出外div那在外div的css样式想下面一样设置.box_tt_1 /* 外面的样式*/{ background-image:url(img/main_1_0.png); background-position:0 0; background-repeat: repeat-x; border-style: solid; border-width: 1px 1px 0 1px; padding: 0.54em 0.77em; border-color: #DBE1E6; font-size: 93%; position: relative;} /* 外面的样 阅读全文
posted @ 2011-10-02 23:07 erlan80 阅读(2741) 评论(1) 推荐(0)
摘要:
服务器端几种分页方式的性能分析 ——by comaple 2011-6-17前言:本试验在于探讨分页的性能问题,当然客户端分页也是一种分页的策略。不过这种分页方式已经过时了,建议不要采用。这里我们只讨论服务器端分页。实验环境:Pentium(R) dual-Core CPU E5300 @ 2.6GHz 2.59GHz, 2.00GB内存SqlServer2008 数据库环境,数据库中我们要用到的的表: dbo.GMpipeCREATE TABLE [dbo].[GMpipe]([GMDataID] [uniqueidentifier] NOT NULL,[pointID] [uniqueid 阅读全文
posted @ 2011-06-22 22:54 erlan80 阅读(287) 评论(1) 推荐(0)
摘要:
1. script type="text/javascript" src="base.js?1217128319"/script BR 2. link rel='stylesheet' href='http://liupeng.us/base.css?version=2.3.3' type='text/css' / BR 3. link rel='stylesheet' href='http://liupeng.us/base.css?version=20080727182553' type='text/css' / BR有同学经常遇到html页面里加载的js与cs 阅读全文
posted @ 2011-01-09 17:05 erlan80 阅读(359) 评论(0) 推荐(0)
浙公网安备 33010602011771号