10 2009 档案

摘要:firefox对web标准的支持确实比ie要好,就想在使用vs2005进行web项目的调试时候用firefox进行调试。 修改vs2005调试浏览器的方法是: 打开一个web项目,在“解决方案管理器”中的web项目上点右键,点击“浏览方式”,在弹出的对话框中添加firefox,并将其设为默认值即可。 阅读全文
posted @ 2009-10-24 15:38 code_flyer 阅读(430) 评论(0) 推荐(0)
摘要:本文转自:http://www.cnblogs.com/justicfu/archive/2006/06/23/433887.html在.Net1.1中无论是对于批量插入整个DataTable中的所有数据到数据库中,还是进行不同数据源之间的迁移,都不是很方便。而在.Net2.0中,SQLClient命名空间下增加了几个新类帮助我们通过DataTable或DataReader批量迁移数据。数据源可以... 阅读全文
posted @ 2009-10-22 19:12 code_flyer 阅读(311) 评论(0) 推荐(0)
摘要:1.清除浮动 clear:both;<div class="colwrapper"><div class="fl"></div><div class="fl"></div><div class="clear"></div></div>这个div一定要注意声明位置,一定要放在最恰当的地方,而且必须与两个具... 阅读全文
posted @ 2009-10-16 12:30 code_flyer 阅读(275) 评论(1) 推荐(1)
摘要:What is “Float”?Float is a CSS positioning property. To understand its purpose and origin, we can look to print design. In a print layout, images may be set into the page such that text wr... 阅读全文
posted @ 2009-10-15 12:23 code_flyer 阅读(246) 评论(0) 推荐(0)
摘要:1.关于元素的 width属性无效果先运行下程序看下:<span style='background-color:#336699;width:300px;'>123</span> 可以看到 span会自动根据包含的内容来变化宽度这是因为:对于内联元素(可以是默认即为内联的比如 span 元素,也可以是 display: inline 的元素)width 和 height 只... 阅读全文
posted @ 2009-10-15 12:21 code_flyer 阅读(269) 评论(0) 推荐(0)
摘要:文章来源:http://www.osmn00.com/?p=24合理使用负边距技术,可以帮助我们创建很多有意思的布局,比如自适应浏览器宽度的流体布局。国外关于使用负边距创建这类布局的技术文档,我看到的最早是04年 Ryan Brill 发表在 A List Apart 上的 《Creating Liquid Layouts with Negative Margins》 (04年 - -!国内刚小部... 阅读全文
posted @ 2009-10-14 21:26 code_flyer 阅读(271) 评论(0) 推荐(0)
摘要:<style type="text/css"> ul,li { margin:0; padding:0; } #nav { border-bottom:1px solid #77B1E7; } .clear { clear:both; } ul { float:left; font-size:14px; margin-bottom:-1px; /*这里一行最重要,设置为-... 阅读全文
posted @ 2009-10-10 15:55 code_flyer 阅读(202) 评论(0) 推荐(0)