摘要: a img 在IE6下有出现边框解决方案 css样式 加上 a img{border:none; vertical-align:top;}去ul li 样式 横排前面的点.top_02 ul { list-style:none; }.top_02 li { float:left }写个兼容吧.. IE6 兼容 _margin-top:1px; FF margin-top:5px; IE7 *margin-top:5px; 这是指定 哪个浏览器 读哪个margin IE6 读 _margin-top:1px; FF 读 margin-top:5px; IE7 读 *margin-top:... 阅读全文
posted @ 2012-09-14 17:28 笑醉红尘 阅读(128) 评论(0) 推荐(0) 编辑
摘要: .d { width: 966px; height:538px; text-align:center; top: 0px; margin-top: 0px; padding-top:0px; margin-right: auto; margin-bottom: 0; margin-left: auto; background-image: url(图片路径); background-repeat: no-repeat; background-position: center top; } 阅读全文
posted @ 2012-09-12 14:37 笑醉红尘 阅读(119) 评论(0) 推荐(0) 编辑
摘要: arclist标签调用文章内容 首先大家都知道在Dedecms中,list标签是可以调用文章内容的,调用格式就不再此冗述了。从我个人来说,我非常不喜欢用list标签调用,有可能我会尽量使用arclist标签来调用,原因就是arclist功能很强大。我最喜欢用的就是arclist标签中的limit=’ ‘,当然row=’ ‘同样很科学。因此我总是希望arclist足够强大到可以实现我的网站中的各种功能。比如列表页调用文章内容。用Dedecms中的arclist标签也是可以在列表页调用文章内容的,虽然在官方的标签说明中,arclist标签的底层标签中不包含body。调用的Html格式如下:{de. 阅读全文
posted @ 2012-09-10 09:44 笑醉红尘 阅读(755) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;namespace WindowsFormsApplication1{ public partial class Form1 : Form { public Form1() { InitializeComponent 阅读全文
posted @ 2012-08-24 18:28 笑醉红尘 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 废话不多说,直接看代码:<div class="menu"><ul>{dede:channelartlist typeid={dede:field.typeid/}//读取顶级栏目<li><a class="hide" href=">{dede:field name='typeurl'/" title=">{dede:field name='typename'/}">{dede:field name='typenam 阅读全文
posted @ 2012-08-06 10:59 笑醉红尘 阅读(3547) 评论(0) 推荐(0) 编辑
摘要: OOB:脱离游览器开发1.启动项目属性(如FAMS)---Silverlight---允许在游览器外运行应用程序(√)2.接上面---游览器外设置---在游览器之外运行需要提升信任.(√)注意点:1,启动项目设置问题(例如1.FAMS--无游览器游览 2.FAMS.Web--类似游览器游览.无调试功能.) 2,发布时有"用户验证"问题---解决方法---签证 阅读全文
posted @ 2011-11-01 17:26 笑醉红尘 阅读(221) 评论(0) 推荐(0) 编辑
摘要: class <派生类>:<继承方式><基类>{ <派生类>};概括图: 阅读全文
posted @ 2011-11-01 17:18 笑醉红尘 阅读(228) 评论(0) 推荐(0) 编辑
摘要: ①首先肯定需要有一个table标签,给它定义一个id,在js中通过id.datagrid方法即可创建表格<table id="tt"></table>$('#tt').datagrid(options);②创建表格的列名有两种方式:第一种是直接在table标签中定义,第二种是在js中定义:我使用的是第一种方式:<!-- 表格 --><table id="loginInfoTable"title="用户信息一览" border="0"cellspacing=& 阅读全文
posted @ 2011-10-24 14:33 笑醉红尘 阅读(4502) 评论(0) 推荐(0) 编辑
摘要: [1]using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace JQuery.Model{public class Member{ public string name { get; set; } public string txtbody { get; set; }}}[2]using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace JQuery.M 阅读全文
posted @ 2011-10-20 10:54 笑醉红尘 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 【1】 随即生成一个数字Random random = new Random();int i = random.Next(1,100);【2】 分页using (this.GroupColletion.DeferRefresh()) { this._viewgroup.PageSize = 10; this._viewgroup.MoveToFirstPage(); }if (op.TotalEntityCount != -1) { this._viewgroup.SetTotalItemCount(op.TotalEntityCount); this._viewgroup.MoveToFir 阅读全文
posted @ 2011-10-19 11:49 笑醉红尘 阅读(131) 评论(0) 推荐(0) 编辑