<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>电子商务网站建设_电子商务网站运营推广_网店装修 - 商秀电子商务博客 - 电子商务网站建设</title><link>http://www.sowshow.cn/</link><description> - </description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 90619</generator><language>zh-CN</language><copyright>Copyright 商秀 sowshow.cn.桂ICP备09002872号 Some Rights Reserved.电子商务网站的建设、运营、推广、优化和网店装修等服务与问答var _bdhmProtocol = ((&amp;quot;https:&amp;quot; == document.location.protocol) ? &amp;quot; https://&amp;quot; : &amp;quot; http://&amp;quot;);document.write(unescape(&amp;quot;%3Cscript src='&amp;quot; + _bdhmProtocol + &amp;quot;hm.baidu.com/h.js%3Fcb2c64f1b33012682fbe15205322917d' type='text/javascript'%3E%3C/script%3E&amp;quot;));</copyright><pubDate>Mon, 06 Sep 2010 00:44:29 +0800</pubDate><item><title>看完《阿凡达》，想到的电子商务创业之路</title><author>fayunlk@qq.com (fayunlk)</author><link>http://www.sowshow.cn/ec-design/201001/250.html</link><pubDate>Thu, 21 Jan 2010 10:41:14 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/201001/250.html</guid><description><![CDATA[<p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 《阿凡达》在国内上映后，165分钟的电影让我产生了很多思考和联想。</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;首先，阿凡达与那位女主角乘雕欢乐、并肩战斗，让我想到了金庸老先生的《神雕侠侣》，男主角是个瘸子，杨过也少了一只胳膊。阿凡达最后那么厉害离不开女主角的培养和训练，练好了基本功，掌握了丛林法则，最后才能做魅影骑士。</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 创业者要学阿凡达，先学习一些管理、运营、销售的知识，然后投入实践，坚决地打造自己的业务流程，这样才能成为企业丛林里的阿凡达。创业者也需要神雕，让神雕带着你飞行，这样才能达到足够的高度和视野，这样才会出类拔萃。</font></p><p><font size="2">电子商务网站的流程再造</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 电子商务网站是有长远想法的网商的必然选择，一个长久的电子商务必要要品牌化，迟早要建立独立网站，这就是本文的主题：电子商务网站的流程再造。</font></p><p align="center"><font size="2"><a href="http://www.sowshow.cn/upload/201001211101120606.jpg" target="_blank"><img alt="" src="http://www.sowshow.cn/upload/201001211101120606.jpg" border="0" /></a></font></p><p>&nbsp;</p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 上边的网站截图是国美电器的在线商城，这是一个新建时间不长的电子商务站点，这个站点的布局和外观比较符合艾瑞网发布的《2009-2010年中国独立电子商务网站研究报告》里涉及到电子商务网站的设计方略。</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 既然艾瑞的报告说的还算详细，我就不去一一细节的讲解了，我来说说我对电子商务流程再造的五步走：</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第一步：确定品牌名称，也就是电子商务网站的名字。取名字不建议用商品类别作为名字，因为这样品类的潜意识会掩盖掉个性品牌，比如绿森数码、一家一户网、我买网这些名字都是容易形成品牌，但是如果你取个&ldquo;数码专卖店&rdquo;这样的名字则是非常失败的。</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第二步：选程序，建网站。个人推荐用上海商派的shopex、ecshop，因为用的人很多，系统比较成熟稳定了。建电子商务网站的具体流程和步骤可参考《2009-2010年中国独立电子商务网站研究报告》。更多的<a target="_blank" href="http://www.sowshow.cn/catalog.asp?cate=4">电子商务网站建设</a>技巧点击这里</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp; 第三步：添加商品，<a target="_blank" href="http://www.sowshow.cn/catalog.asp?cate=17">网站优化</a>。由于网站流量推广方法中，网站优化是让搜索引擎带流量，所以成本低也最重要，添加商品时候要把各项参数填完整，商品介绍要突出关键词特征。</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第四步：<a target="_blank" href="http://www.sowshow.cn/catalog.asp?cate=10">网络推广</a>。这个过程可以多写软文，大量发布，发布到大网站更好，可有几篇带超链接的，这样带动优化和排名，msn签名、QQ签名、微博客都不要放过，但是尽量不要群发。网络广告推荐用谷歌adwords，一定要制作图片广告，因为图片广告的点击率并不比文字广告高，但是有更强的视觉展示和品牌宣传作用。</font></p><p><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第五步：做好客户服务。这是留住客户的根本，这个做不好，前面的都白做了，建立规范和流程化的客户服务体系至关重要，即便是几个人的小网站，也要把服务做得像招商银行一样好。</font></p>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/201001/250.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=250</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=250&amp;key=d9785eaa</trackback:ping></item><item><title>ShopEx 4.8.5 新版功能</title><author>fayunlk@qq.com (fayunlk)</author><link>http://www.sowshow.cn/ec-design/200912/248.html</link><pubDate>Sat, 19 Dec 2009 14:53:12 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200912/248.html</guid><description><![CDATA[<p>&nbsp;凡佳品则出自豪门，目前市面上最流行的电子商务产品ShopEx也不例外。国内最大的电子商务软件及服务提供商上海商派网络科技有限公司则是ShopEx的诞生地。</p><p>目前ShopEx已经发布了最新的4.8.5版，在保持ShopEx软件一贯技术优势的基础上，还加入了许多ShopEx专属的新技术。另外在功能上也特别优化了前台用户注册、购买流程；增加了商品分类页自定义模板；以及网店机器人等新功能。</p><p>以下，笔者就上述技术及功能特点为大家一一揭秘。</p><p>ShopEx4.8.5在技术上采用了ShopEx自创的列表与筛选体系，即ShopEx  Finder技术，采用了该技术后的后台管理更加简单自如，打破了传统列表单一页面的元素控制形式，将所有内容立体化，既可以横向的扩展商品的列表属性项，又可以纵向延伸要编辑的商品，无需再受分页的限制，所有的分页内商品都可以统一选取、统一修改并保存。<img height="298" alt="国内主流电子商务产品ShopEx功能大揭秘1.gif" src="http://www.webwoo.net/uploads/allimg/c091204/125b59D4320-351H.gif" width="553" border="0" /></p><p>&nbsp;</p><p><img height="379" alt="国内主流电子商务产品ShopEx功能大揭秘2.gif" src="http://www.webwoo.net/uploads/allimg/c091204/125b59D4U0-42493.gif" width="553" border="0" /></p><p>此外，ShopEx利用Gears技术加快ShopEx后台运行速度，原理是系统自动将远程服务器的整站资源读取到本地电脑里，当用户访问时候，直接读取本地资料。当需要更新时，系统将保持与服务器资料同步；使用了加速辅助则能有效提高后台访问速度与管理效率；启用Gears加速的方法是按顺序按键盘方向：上上下下左左右右  然后再按BA 即可看到启动界面！</p><p><img height="174" alt="国内主流电子商务产品ShopEx功能大揭秘3.gif" src="http://www.webwoo.net/uploads/allimg/c091204/125b59D51Z-53O5.gif" width="541" border="0" /></p><p>在功能方面，ShopEx4.8.5新增的网店机器人无疑是一大亮点，此功能也是同类产品中领先的技术。网店机器人内置了许多常用规则，能帮助管理员处理定义好逻辑规则的工作，如：会员注册即送积分、送优惠券、送红包等，只需预置规则即可一劳永逸，很大程度上减轻了网店管理员的工作压力，提升了运营效率。</p><p><img height="346" alt="国内主流电子商务产品ShopEx功能大揭秘4.gif" src="http://www.webwoo.net/uploads/allimg/c091204/125b59D5440-A5b.gif" width="553" border="0" /></p><p>ShopEx在模板管理功能做了重大改进，实现了不同频道分别自定义频道模板风格的功能，不同商品分类从此以后将拥有各自专属的页面风格，商家的网店也将更加丰富多彩。为方便商家操作，ShopEx4.8.5还内置了各板块的内容模块，大大简化了商家填充相关页面的过程。</p><p><img height="275" alt="国内主流电子商务产品ShopEx功能大揭秘5.gif" src="http://www.webwoo.net/uploads/allimg/c091204/125b59D5P-LX0.gif" width="577" border="0" /></p><p>ShopEx4.8.5自带的SEO批量更改模板功能大大提高全站优化方面的效率。在同时增加商品分类、品牌、文章的时候，还可以自定义title、keywords、description，方便用户自定义品牌与商品分类的标题、关键字、描述，这些细节的改进可帮助商家网站更好的迎合搜索引擎，提高搜索引擎的转化率。</p><p><img height="360" alt="国内主流电子商务产品ShopEx功能大揭秘6.gif" src="http://www.webwoo.net/uploads/allimg/c091204/125b59D6120-X3W.gif" width="553" border="0" /></p><p>俗话说，工欲善其事，必先利其器。</p><p>目前的电子商务市场竞争日趋激烈，强大的电子商务产品必将成为网商攻城拔寨的利器。ShopEx无论在技术层面，还是功能应用都为我们提供了强大的保障，加之其七年来一如既往坚持与积累，赢得了近50万用户的信任与支持，成为了目前电子商务软件及服务领域绝对意义上的领头羊。</p>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200912/248.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=248</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=248&amp;key=fc4045be</trackback:ping></item><item><title>ShopEx怎样进行网站迁移（搬家）配图说明</title><author>fayunlk@qq.com (fayunlk)</author><link>http://www.sowshow.cn/ec-design/200911/245.html</link><pubDate>Wed, 04 Nov 2009 10:14:53 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200911/245.html</guid><description><![CDATA[<p><span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: 16px Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="line-height: 21px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: rgb(102,102,102); font-size: 14px" class="Apple-style-span"><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;迁移商店的操作一般较少发生，稳定为主嘛，如果一个商店不时的迁移来、迁移去也确实不是个事。不过呢，有时这样的操作也是必须的。比如，现在使用的空间到期了，要换一个新空间；或者当前的空间太垃圾，要更换到另一个空间；或者在本地对商店进行配置，然后再迁移到虚拟空间中&hellip;大体说来，当出现以上这些情况时，一般就要进行商店的迁移操作。</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一说商店迁移，可能有的朋友认为太过复杂与神秘，犹豫半天不敢出手，其实，操作没那么复杂，问题也没那么难。接下来，暗香就带你一步一步来完成shopex商店的迁移，保证你看过之后就可以放心的操作了。</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;操作前的注意事项：<br />a&gt;、商店迁移时一般是迁移二部分内容：<span style="padding-bottom: 0px; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; color: rgb(255,0,0); font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">图片、数据库</strong></span>。只要能完成这二部分资料的准确迁移，就可把一个商店迁移到另一个商店。<br />b&gt;、迁移时，<span style="padding-bottom: 0px; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; color: rgb(255,0,0); font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">原空间与新空间中安装的软件版本必须完全一致</strong></span>；如果版本不一致，会出现一些未知错误！</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、旧空间（或本地商店）中图片备份、数据库备份<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&gt;、图片备份<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商店安装后，在网店后台上传的商品的图片会保存在两个目录下：<strong style="font-weight: bold">home/upload</strong>，<strong style="font-weight: bold">images</strong><br />Home/upload目录下是保存的<strong style="font-weight: bold">商品图片的原图</strong>；系统自动生成的商品的图片保存在根目录下的images/goods目录下<br />在images目录下，还有其它栏目中需要的图片，这些也需要备份。<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-709" title="01" alt="01" src="http://anxiang.shopex.cn/wp-content/uploads/2009/09/013.gif" width="76" height="73" /></p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其中article目录中是文章中添加的图片，default目录中是商店logo、规格图片、及其它默认图片，gift目录中是赠品中上传的图片，goods目录中是商品图片。所有图片，均保存在按日期生成的目录中。<br />因此，备份时需要用FTP工具把home/upload及整个images目录下载到本地。</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2&gt;、数据库备份<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商店后台，依次点击 工具箱-数据备份，将当前数据库备份<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-726" title="02" alt="02" src="http://anxiang.shopex.cn/wp-content/uploads/2009/09/024.gif" width="515" height="149" /></p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;备份的时间与卷数以商店中数据库多少为准。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;备份结束后，可立即下载到本地。<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-727" title="08" alt="08" src="http://anxiang.shopex.cn/wp-content/uploads/2009/09/083.gif" width="516" height="144" /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果当时没有下载，也可随后在空间中home/backup目录中下载。</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3&gt;、模板文件备份<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果曾经对模板做过图片的替换或修改，并且想在新空间中也使用同一个模板时，则也需要对模板文件进行同样的备份在后台模板列表中，选择要备份的模板，进行编辑<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-712" title="11" alt="11" src="http://anxiang.shopex.cn/wp-content/uploads/2009/09/11.gif" width="371" height="211" /><br />然后点击里面的下载，系统会自动将模板打包下载<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-713" title="12" alt="12" src="http://anxiang.shopex.cn/wp-content/uploads/2009/09/12.gif" width="373" height="231" /></p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">到此，所有备份结束。</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、图片恢复、数据库恢复<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在新空间中<span style="padding-bottom: 0px; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; color: rgb(255,0,0); font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">安装相同版本的商店</strong></span>，并且运行正常。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&gt;、图片恢复<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;把上面下载的home/upload、images目录中内容用FTP工具二进制方式上传到新空间中对应目录下，完成图片的恢复。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2&gt;、数据库恢复<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;把上面备份的数据库文件用FTP工具二进制方式上传到新空间中home/backup目录下<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;然后在商店后台，依次点击 工具箱-数据恢复<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-729" title="03" alt="03" src="http://www.sowshow.cn/upload/200911041017478305.gif" width="652" height="174" /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;此时，会显示刚才上传的备份文件，确认后，点击恢复即可。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;到此，数据库恢复完成</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、恢复后完善<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数据库恢复后，有些信息还是原来空间的，需要进行修改。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&gt;、网址<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商店后台，依次点击 商店配置-全站设置-基本设置，将网址修改为新空间的网址<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-730" title="04" alt="04" src="http://www.sowshow.cn/upload/200911041017485158.gif" width="474" height="179" /><br />&nbsp;</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold"><span style="padding-bottom: 0px; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; color: rgb(255,0,0); font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px"><br />注：此操作是必须要做的！</span></strong></p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">2&gt;、清除缓存<br />商店后台，点击右上角 关于<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-716" title="05" alt="05" src="http://www.sowshow.cn/upload/200911041017493633.gif" width="268" height="53" /></p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">在弹出的页面中点击 缓存系统，然后清空缓存<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-717" title="06" alt="06" src="http://www.sowshow.cn/upload/200911041017498467.gif" width="339" height="214" /><br />3&gt;、清除空间中缓存文件<br />在空间中，依次点击&nbsp; home/cache<br /><img style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 12px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; font-family: inherit; float: none; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px" class="alignnone size-full wp-image-718" title="07" alt="07" src="http://www.sowshow.cn/upload/200911041017491427.gif" width="143" height="84" /><br />分别清除 admin_tmpl、front_tmpl文件夹中的内容即可。</p><p style="padding-bottom: 0px; border-right-width: 0px; margin: 0px 0px 1em; padding-left: 0px; padding-right: 0px; font-family: inherit; border-top-width: 0px; border-bottom-width: 0px; font-size: 14px; vertical-align: baseline; border-left-width: 0px; padding-top: 0px">至此，shopex商店的迁移就完成了。</p></span></span></p>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200911/245.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=245</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=245&amp;key=7ca24c21</trackback:ping></item><item><title>新手三天精通制作shopex模板——你不可不看！</title><author>Fayunlk@qq.com (电子商务网站)</author><link>http://www.sowshow.cn/ec-design/200911/shopexmb.html</link><pubDate>Wed, 04 Nov 2009 09:01:44 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200911/shopexmb.html</guid><description><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由于本人对<a target="_blank" href="http://sowshow.cn/catalog.asp?cate=4">电子商务网站</a>特别是商城软件特别有兴趣，所以shopex的出场，从4.7版本一直跟踪试用到现在的4.84，并测试了4.85。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;自我感觉，shopex的模板是非常容易上手的。我曾经做过ecshop模板的制作和修改，真的很麻烦，而像shopex这样程序和模板分离，其实理解了shopex模板机制，只要你会做<a target="_blank" href="http://sowshow.cn/catalog.asp?cate=4">网站美工设计</a>，会<a target="_blank" href="http://sowshow.cn/catalog.asp?cate=4">Div+Css</a>，一样可以做出一套属于自己的shopex模板。下面是一些心得体会（非本人的）。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shopex是程序和模板分离的，这样就大大方便了大家可以做出自己漂亮的外观网站，虽然很多地方分离得不够，比如一些核心的业务流程区基本大家就很难修改了，但是大部分还是满足网站基本要求的。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;首先，说说模板下的theme.xml，官方是这么说的，theme.xml是整个模板中最重要的部分，所有模板的配置信息都是存在这个xml中的，包括板块的位置、配置信息，边框的信息等等。第一次加载模板时，theme.xml中包含的信息被读入数据库，即模板的初始化，之后用户便可以在可视化界面中进行板块的增删改和对原有的板块进行配置。配置信息保存在数据库中，用户可以通过导出模板来下载到最新的带配置信息的theme.xml，通过&ldquo;恢复默认&rdquo;来应用新的theme.xml。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这个意思表达得还是比较清楚了，我再详细补充下。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1. 官方说第一次加载模板时，theme.xml中包含的信息被读入数据库，即模板的初始化。意思就是这个theme数据库只会加载他一次，第二次是不会加载的，除非你强行要恢复默认，数据库才会重新加载读取theme的信息。明白了这点，所以只要加载第一次后，你可以随便修改theme啊，只要你不强行恢复默认的话，theme此时不对数据库任何影响，程序也不会读取和应用到theme。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2，但是为什么大家建议不要修改theme呢?&nbsp; 首先，修改它没意义。上面说了，第一次加载后theme就等于完成了他的任务了，只要不强行重新加载，theme对系统没任何影响。其次，如果你修改了theme的话，哪天不小心强行恢复默认的话，就会导致某些页面不能输出你被修改的挂件内容。因为theme是告诉数据库在哪个页面哪个位置输出哪个内容。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.配置信息保存在数据库中。意思就是你的所有可视化编辑的操作数据和记录全部保持在数据库里面，比如可视化删除了挂件，编辑了挂件，添加了挂件。你在后台代码编辑的时候他会保存到对应的html文件里（是否保存在数据库官方未说）。这点就是要告诉我们，记得一定要数据库配置备份，备份生成的文件就是theme-bak.xml，比如你错误的删除了挂件，这个操作已经记录在数据库里面，你通过点恢复theme-bak.xml，那么数据库里面的这个操作记录就会被擦去，这个挂件就没有删除被恢复。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.用户可以通过导出模板来下载到最新的带配置信息的theme.xml，通过&ldquo;恢复默认&rdquo;来应用新的theme.xml，也就是上面的意思，通过theme.xml这个文件，方便大家反复擦写数据库记录，实际theme就是数据库配置信息的备份文件。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3，为什么要引入theme.xml呢？上面说了，可以方便大家备份配置信息反复擦写数据库。其次，就是通用模板的共享。模板包含了2个主要文件，一个是html框架文件，这些是最外层框架布局和大致显示样式，二个是theme.xml配置文件，theme配置文件告诉程序要在哪个页面哪个位置输出哪个内容。比如theme里面全部记录了挂件配置信息，通过theme程序才能真正和模板结合起来输出重要信息内容。html框架文件是死的，theme记录的挂件输出的内容是活的。正是有了theme传递给程序的配置信息，程序才知道什么位置输出什么内容。配置信息最终是要传递到数据库里面，程序才能识别和输出内容。如果没有引入theme，那么这些保存在数据库的配置信息就不方便共享，因为要共享数据库。有了theme，数据库配置信息就可以以文件存在的形式方便大家互相转移共享。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;再说说部分人问的widgets ID中ID的理解。ID就是身份，就是给这个widgets一个唯一的身份，以便程序认识和记住这个widgets输出正确的内容。如果不做ID辨认，程序会自动默认排列顺序，导致输出内容错位，也就是说，你写的ID数据库就会记录这个ID，然后数据库通过这个ID输出你挂件设置的内容。也就是说ID可以随便写，但是不能重复。</p><p>======================================================================================</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;再说说挂件下模板的修改。比方说首页列表商品下的信息描述，系统默认是名字在上面，价格在下面。如果我们想要 价格在上，商品名在下呢，比如这种效果&nbsp;<br /><span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium Simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="text-align: left; font-family: Arial; color: rgb(51,51,51); font-size: 14px" class="Apple-style-span"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="" onload="if(this.width&gt;'700')this.width='700';if(this.height&gt;'700')this.height='700';" onclick="if(this.width&gt;=700) window.open('upload/200911041000105556.jpg');" src="http://www.sowshow.cn/upload/200911041000105556.jpg" /><span class="Apple-converted-space">&nbsp;</span></span></span><br />&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;那我们可以修改挂件模板。找到挂件下的goods目录，新建一个a.html文件 复制里面的default.html内容。再来修改a.html内容。先来分析default.html里面的代码.里面&lt;{capture name=titleImg}&gt;里面很多变量和定义，这些是关系到后台挂件设置的内容以及系统输出的内容，我们不能动。我们只要修改模板html代码，就是在以最后一个&lt;{capture 结尾的地方的后面代码，就是输出代码，找到输出的html代码就是以 &lt;div class=&quot;itemsWrap &lt;{if $setting.column &gt; 1 &amp;&amp;开头的，我们再找到 设置图片在上的那部分代码<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;{elseif $setting.goodsImgPosition==&quot;top&quot;}&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;{$smarty.capture.goodsImg}&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;{$smarty.capture.goodsName}&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;{$smarty.capture.goodsDesc}&gt;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这3个smarty的代码就是分别输出图像，商品名字，商品描述的。我们把商品名字和描述互换位置，就可以把价格调整在上面。也可以修改其他HTML代码 达到更多的效果。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有群友在群问:挂件在哪？怎么添加挂件？怎么加更多的商品列表。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这个问题是刚刚上手的时候也想了一阵子，弄不明白挂件是干嘛的，关键还是不理解shopex的模板机制，理解了就很好制作和添加挂件了。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;挂件是功能模块，是程序核心，官方是这么说的，关键是怎么理解。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一套程序是有很多功能的，这很好理解吧，比如首页上的导航模块，他自动列出了你后台添加的栏目，这不就是实现导航功能吗？<br />首页上的商品列表，他会自动列出你后台添加的商品，这不是实现了商品展示功能吗？？公告区的文章列表，可以自动列出你添加的新闻公告，这不就是功能吗。一套程序就是为了实现各个功能而互相有机结合起来的。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;功能模板之所以叫功能模块，那是因为他紧密结合系统，输出程序最核心的部分，是程序底层代码了，这些不是我们一般人可以修改的，也不是一般人可以随着增加的，他是程序早封装好，为你打包准备好了的。你要做的就是把各个功能漂亮的组合在一起，做个漂亮的网站出来。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;怎么去组合这些功能，那你首先得布局，那你就得会HTML代码了。后台编辑源代码，把需要表现功能的地方一律以widgets&nbsp; ID替换，注意，这个地方要解析下，很多人这里会卡着一下，想不明白。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;你输入 widgets ID 只是告诉程序你在这个地方占了个位置，挖了一个坑，这个时候 ，程序是不知道你这个坑要放啥东西啊，不知道你写的widgets ID是什么意思啊，所以程序在这个地方不会输出任何代码，在后台可视化编辑中，就显示为空白区。你必须到后台可视化编辑里面去添加一个功能附加在这个widgets ID上，这样，数据库就记录了你的操作ID，程序就明白你给这个ID附加的功能，保存后，程序会按照他记录的ID，在widgets上替换 输出程序早封装好的 功能模块，也即大家所谓的挂件。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;也就是说 widgets ID指向的内容是你用ID记录对应着的程序内置的封装的功能模块，是系统内置的，你只有增加和删除的权利。当然你也可以自己写 widgets&nbsp; ，但是一般的人做的只能做哪些简单替换HTML代码的以供后台方便修改的所谓挂件，这些都不和系统核心紧密结合的。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;所以，挂件在哪？？挂件在系列内部自带的封装的。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;怎么添加挂件？&nbsp; 你首先必须定义一个 widgets&nbsp; ID&nbsp; ，然后去后台可视化编辑把内置功能赋予这个 widgets ID，程序记录后，<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;就会在前台页面替换 widgets ID的内容 输出 你赋予的功能代码。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;后台只能看见widgets&nbsp; ID 必须通过程序识别输出后 ，在前台才能看见widgtes的效果（后台可视化编辑实际就是通过了程序输出了）。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果你对shopex模板，欢迎你与我一起探讨与交流。模板案例：<a href="http://www.eyameng.com">http://www.eyameng.com</a>，请多多指点。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://sowshow.cn">商秀电子商务博客</a>推荐看以下文章：</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://sowshow.cn/ec-design/200905/101.html">倾城-4.8-模板制作教程【系列一】</a><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://sowshow.cn/ec-design/200905/102.html">&nbsp;倾城-4.8-模板制作教程【系列二】</a><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://sowshow.cn/ec-design/200905/103.html">倾城-4.8-模板制作教程【系列三】</a><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a target="_blank" href="http://sowshow.cn/ec-design/200905/104.html">倾城-4.8-模板制作教程【系列四】</a><br />&nbsp;</p>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200911/shopexmb.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=244</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=244&amp;key=6cfdb312</trackback:ping></item><item><title>常用的CSS命名规则</title><author>fayunlk@qq.com (fayunlk)</author><link>http://www.sowshow.cn/ec-design/200910/226.html</link><pubDate>Thu, 08 Oct 2009 22:05:12 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200910/226.html</guid><description><![CDATA[<p>&nbsp;　　头：<font color="#0000ff">header</font></p><p>　　内容：<font color="#0000ff">content/container</font></p><p>　　尾：<font color="#0000ff">footer</font></p><p>　　导航：<font color="#0000ff">nav</font></p><p>　　侧栏：<font color="#0000ff">sidebar</font></p><p>　　栏目：<font color="#0000ff">column</font></p><p>　　页面外围控制整体布局宽度：<font color="#0000ff">wrapper</font></p><p>　　左右中：<font color="#0000ff">left right center</font></p><p>　　登录条：<font color="#0000ff">loginbar</font></p><p>　　标志：<font color="#0000ff">logo</font></p><p>　　广告：<font color="#0000ff">banner</font></p><p>　　页面主体：<font color="#0000ff">main</font></p><p>　　热点：<font color="#0000ff">hot</font></p><p>　　新闻：<font color="#0000ff">news</font></p><p>　　下载：<font color="#0000ff">download</font></p><p>　　子导航：<font color="#0000ff">subnav</font></p><p>　　菜单：<font color="#0000ff">menu</font></p><p>　　子菜单：<font color="#0000ff">submenu</font></p><p>　　搜索：<font color="#0000ff">search</font></p><p>　　友情链接：<font color="#0000ff">friendlink</font></p><p>　　页脚：<font color="#0000ff">footer</font></p><p>　　版权：<font color="#0000ff">copyright</font></p><p>　　滚动：<font color="#0000ff">scroll</font></p><p>　　内容：<font color="#0000ff">content</font></p><p>　　标签页：<font color="#0000ff">tab</font></p><p>　　文章列表：<font color="#0000ff">list</font></p><p>　　提示信息：<font color="#0000ff">msg</font></p><p>　　小技巧：<font color="#0000ff">tips</font></p><p>　　栏目标题：<font color="#0000ff">title</font></p><p>　　加入：<font color="#0000ff">joinus</font></p><p>　　指南：<font color="#0000ff">guild</font></p><p>　　服务：<font color="#0000ff">service</font></p><p>　　注册：<font color="#0000ff">regsiter</font></p><p>　　状态：<font color="#0000ff">status</font></p><p>　　投票：<font color="#0000ff">vote</font></p><p>　　合作伙伴：<font color="#0000ff">partner</font></p><p>　<strong class="yellowstrong"><font color="#ff6600">注释的写法:</font></strong></p><p>　　<font color="#0000ff">/* Footer */</font></p><p><font color="#0000ff">　　内容区</font></p><p><font color="#0000ff">　　/* End Footer */</font></p><p>　<strong class="yellowstrong"><font color="#ff6600">id的命名:</font></strong></p><ol>    <li>    <p><font color="#009900"><strong>页面结构</strong></font></p>    <p>容器: <font color="#0000ff">container</font></p>    <p>页头：<font color="#0000ff">header</font></p>    <p>内容：<font color="#0000ff">content/container</font></p>    <p>页面主体：<font color="#0000ff">main</font></p>    <p>页尾：<font color="#0000ff">footer</font></p>    <p>导航：<font color="#0000ff">nav</font></p>    <p>侧栏：<font color="#0000ff">sidebar</font></p>    <p>栏目：<font color="#0000ff">column</font></p>    <p>页面外围控制整体布局宽度：<font color="#0000ff">wrapper</font></p>    <p>左右中：<font color="#0000ff">left right center</font></p>    </li>    <li><strong><font color="#009900">导航</font></strong>    <p>导航：<font color="#0000ff">nav</font></p>    <p>主导航：<font color="#0000ff">mainbav</font></p>    <p>子导航：<font color="#0000ff">subnav</font></p>    <p>顶导航：<font color="#0000ff">topnav</font></p>    <p>边导航：<font color="#0000ff">sidebar</font></p>    <p>左导航：<font color="#0000ff">leftsidebar</font></p>    <p>右导航：<font color="#0000ff">rightsidebar</font></p>    <p>菜单：<font color="#0000ff">menu</font></p>    <p>子菜单：<font color="#0000ff">submenu</font></p>    <p>标题:<font color="#0000ff"> title</font></p>    <p>摘要: <font color="#0000ff">summary</font></p>    </li>    <li><strong><font color="#009900">功能 </font></strong>    <p>标志：<font color="#0000ff">logo</font></p>    <p>广告：<font color="#0000ff">banner</font></p>    <p>登陆：<font color="#0000ff">login</font></p>    <p>登录条：<font color="#0000ff">loginbar</font></p>    <p>注册：<font color="#0000ff">regsiter</font></p>    <p>搜索：<font color="#0000ff">search</font></p>    <p>功能区：<font color="#0000ff">shop</font></p>    <p>标题：<font color="#0000ff">title</font></p>    <p>加入：<font color="#0000ff">joinus</font></p>    <p>状态：<font color="#0000ff">status</font></p>    <p>按钮：<font color="#0000ff">btn</font></p>    <p>滚动：<font color="#0000ff">scroll</font></p>    <p>标签页：<font color="#0000ff">tab</font></p>    <p>文章列表：<font color="#0000ff">list</font></p>    <p>提示信息：<font color="#0000ff">msg</font></p>    <p>当前的: <font color="#0000ff">current</font></p>    <p>小技巧：<font color="#0000ff">tips</font></p>    <p>图标:<font color="#0000ff"> icon</font></p>    <p>注释：<font color="#0000ff">note</font></p>    <p>指南：<font color="#0000ff">guild</font></p>    <p>服务：<font color="#0000ff">service</font></p>    <p>热点：<font color="#0000ff">hot</font></p>    <p>新闻：<font color="#0000ff">news</font></p>    <p>下载：<font color="#0000ff">download</font></p>    <p>投票：<font color="#0000ff">vote</font></p>    <p>合作伙伴：<font color="#0000ff">partner</font></p>    <p>友情链接：<font color="#0000ff">link</font></p>    <p>版权：<font color="#0000ff">copyright</font></p>    </li></ol><p>　<strong class="yellowstrong"><font color="#ff6600">class的命名:</font></strong></p><ol>    <li>    <p><strong>颜色:使用颜色的名称或者16进制代码,如</strong></p>    <p><font color="#0000ff">.red { color: red; }</font></p>    <p><font color="#0000ff">.f60 { color: #f60; }</font></p>    <p><font color="#0000ff">.ff8600 { color: #ff8600; }</font></p>    </li>    <li><strong>字体大小,直接使用&quot;font+字体大小&quot;作为名称,如 </strong>    <p><font color="#0000ff">.font12px { font-size: 12px; }</font></p>    <p><font color="#0000ff">.font9pt {font-size: 9pt; }</font></p>    </li>    <li><strong>对齐样式,使用对齐目标的英文名称,如 </strong>    <p><font color="#0000ff">.left { float:left; }</font></p>    <p><font color="#0000ff">.bottom { float:bottom; }</font></p>    </li>    <li><strong>标题栏样式,使用&quot;类别+功能&quot;的方式命名,如 </strong>    <p><font color="#0000ff">.barnews { }</font></p>    <p><font color="#0000ff">.barproduct { }</font></p>    </li></ol><p>　<strong class="yellowstrong"><font color="#ff6600">注意事项:</font></strong></p><ol style="COLOR: #009900">    <li>一律小写;</li>    <li>尽量用英文;</li>    <li>不加中杠和下划线;</li>    <li>尽量不缩写，除非一看就明白的单词.</li></ol><p>　　主要的 <font color="#0000ff">master.css</font></p><p>　　模块 <font color="#0000ff">module.css</font></p><p>　　基本共用 <font color="#0000ff">base.css</font></p><p>　　布局，版面 <font color="#0000ff">layout.css</font></p><p>　　主题 <font color="#0000ff">themes.css</font></p><p>　　专栏 <font color="#0000ff">columns.css</font></p><p>　　文字 <font color="#0000ff">font.css</font></p><p>　　表单 <font color="#0000ff">forms.css</font></p><p>　　补丁 <font color="#0000ff">mend.css</font></p><p>　　打印 <font color="#0000ff">print.css</font></p>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200910/226.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=226</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=226&amp;key=38065bf4</trackback:ping></item><item><title>Div+Css之IE6/IE7和Firefox处理的差异</title><author>Fayunlk@qq.com (电子商务网站)</author><link>http://www.sowshow.cn/ec-design/200910/225.html</link><pubDate>Thu, 08 Oct 2009 21:48:59 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200910/225.html</guid><description><![CDATA[<p>&nbsp;<b>基本HTML代码</b></p><div><font color="#0000ff">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD  XHTML 1.0 Transitional//EN&quot; <br />&quot;</font><p>&nbsp;</p><div><font color="#0000ff">下面会在这个基础上进行修改，修改的内容都在style中，其他代码就不再重复写了。<br />请注意，这里的Style中用到了min-height，这个和height是不同的，min-height指定了对象的一个最小高度，当对象的子内容高度超过这个最小高度是，这个对象会自动撑大。这是一个非常牛的style，可惜的是，在这个style和float这个同样牛的style一起使用的时候，就会出现各种问题。<br /><b>内部一个Div修改成为float:left</b><br /><font color="#0000ff">.d1 { width:250px; min-height:20px; border:1px solid #00cc00;  }<br />.d2 { width:130px; min-height:40px; border:1px solid #0000cc; float: left;  }<br />.d3 { width:100px; min-height:40px; border:1px solid #cc0000;  }</font><br />显示结果如下。<br />显示结果如下，显示结果如下！</font></div><p align="center"><font color="#0000ff"><img width="600" height="180" src="http://www.sowshow.cn/upload/200910082158078423.gif" alt="" /></font></p><div><font color="#0000ff">显示结果如下。:left的情况相同？<br />这个结果中，Firefox有点离谱了，两个框叠在一起也就罢了，为什么那个红框会变大捏？而且变的大小也很诡异，不知道是按照什么公式计算出来的。IE在这里的显示应当是附和标准的。<br /><b>内部两个Div都修改成为float:left</b><br /><font color="#0000ff">.d1 { width:250px; min-height:20px; border:1px solid #00cc00;  }<br />.d2 { width:130px; min-height:40px; border:1px solid #0000cc; float: left;  }<br />.d3 { width:100px; min-height:40px; border:1px solid #cc0000; float: left;  }</font><br />这和前面第一种加float:left的情况相同。<br />显示结果如下。</font></div><p align="center"><font color="#0000ff"><img width="600" height="180" src="http://www.sowshow.cn/upload/200910082158112816.gif" alt="" /></font></p><div><font color="#0000ff">在这种情况下，Firefox的结果尚能解释，可能是float把外层的Div也作为内层float影响的范围，这样内层的就不会将外层的Div撑大了。IE在这里出现了Margin失效的情况，可以解释为内层第二个float造成了影响。<br /><b>干脆把外层的Div也修改成为float:left</b><br /><font color="#0000ff">.d1 { width:250px; min-height:20px; border:1px solid #00cc00;  float: left; }<br />.d2 { width:130px; min-height:40px; border:1px solid #0000cc;  float: left; }<br />.d3 { width:100px; min-height:40px; border:1px solid #cc0000;  float: left; }</font><br />以上代码在下面这些Doctype下试验过，结果相同。<br />显示结果如下，</font></div><p align="center"><font color="#0000ff"><img width="600" height="180" src="http://www.sowshow.cn/upload/200910082158125040.gif" alt="" /></font></p><div><font color="#0000ff">这种情况下，Firefox正常了，而IE延续了前面的不正常情况。<br /><b>外层是float:left，内层最后一个不再float:left</b><br /><font color="#0000ff">.d1 { width:250px; min-height:20px; border:1px solid #00cc00;  float: left; }<br />.d2 { width:130px; min-height:40px; border:1px solid #0000cc;  float: left; }<br />.d3 { width:100px; min-height:40px; border:1px solid #cc0000;  }</font><br />left的情况相同。所以最好是padding和margin都不用?<br />显示结果如下，<br />IE在这里的显示应当是附和标准的。</font></div><p align="center"><font color="#0000ff"><img width="600" height="180" src="http://www.sowshow.cn/upload/200910082158256583.gif" alt="" /></font></p><div><font color="#0000ff">这和前面第一种加float:left的情况相同。<br /><b>结论</b><br />再重申一次，本文讨论的是一个比较高级的话题。如果在style中用height而不是min-height来设定高度，是不会出现以上这些问题的。不过，不用min-height就失去了div自动撑大这一个很有必要的特性。<br />在min-height和float:left的情况下，没有一种完美的写法让Firefox和IE结果相同。不过仍然可以发现绕开的方法。<br />进一步试验可以发现，margin遭到的影响在padding上比较好，所以最好是padding和margin都不用，或者只用padding。<br />两者相同的代码如下，<br /><font color="#0000ff">div { padding:3px; }<br />.d1 { width:250px; min-height:20px;  border:1px solid #00cc00; float: left; }<br />.d2 { width:130px; min-height:40px;  border:1px solid #0000cc; float: left; }<br />.d3 { width:100px; min-height:40px;  border:1px solid #cc0000; float: left;  }</font><br />left的情况相同。当对象的子内容高度超过这个最小高度是。<br />显示结果如下，</font></div><p align="center"><font color="#0000ff"><img width="600" height="180" src="http://www.sowshow.cn/upload/200910082158361482.gif" alt="" /></font></p><div><font color="#0000ff">呵呵，总算是一样了，虽然是凑合着一样了。幸好一样了，否则只好用table了。<br />当然所有这些情况也许是有合理解释的，说不定增加某一个style的设置，这些问题都迎刃而解了，不过目前我还没有找到这个设置。</font></div><div><font color="#0000ff"><br /><b>关于Doctype</b><br />可惜的是，在这个style和float这个同样牛的style一起使用的时候。<br />以上代码在下面这些Doctype下试验过，结果相同。<br />&lt;!DOCTYPE  html PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;<br />&quot;<a href="http://www.w3.org/TR/html4/strict.dtd" target="_blank"><font color="#0000ff">http://www.w3.org/TR/html4/strict.dtd</font></a>&quot;&gt;<br />&lt;!DOCTYPE  html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;<br />&quot;<a href="http://www.w3.org/TR/html4/loose.dtd" target="_blank"><font color="#0000ff">http://www.w3.org/TR/html4/loose.dtd</font></a>&quot;&gt;<br />&lt;!DOCTYPE  html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;<br />&quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank"><font color="#0000ff">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</font></a>&quot;&gt;<br />&lt;!DOCTYPE  html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;<br />&quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank"><font color="#0000ff">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</font></a>&quot;&gt;</font></div></div>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200910/225.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=225</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=225&amp;key=ce05759a</trackback:ping></item><item><title>960栅格系统的技术实现</title><author>fayunlk@qq.com (fayunlk)</author><link>http://www.sowshow.cn/ec-design/200907/158.html</link><pubDate>Tue, 28 Jul 2009 00:43:19 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200907/158.html</guid><description><![CDATA[<p>这一篇将集中讨论960栅格系统的技术实现。</p><h4>Blueprint的实现</h4><p><a href="http://www.sowshow.cn/upload/200907280046193831.png" width="493" /><br />以上三栏布局的代码为：</p><pre>&lt;style type=&quot;text/css&quot;&gt;    .container { margin: 0 auto; width: 950px }    .span-8 { float: left; margin-right: 10px }    div.last { margin-right: 0 }    hr { clear: both; height: 0; border: none }&lt;/style&gt;&lt;div class=&quot;container&quot;&gt;    &lt;div class=&quot;span-8&quot;&gt;&lt;/div&gt;    &lt;div class=&quot;span-8&quot;&gt;&lt;/div&gt;    &lt;div class=&quot;span-8 last&quot;&gt;&lt;/div&gt;    &lt;hr /&gt;&lt;/div&gt;</pre><p>上面是基本功能，Blueprint还支持<code>append-n, prepend-m, border</code>等&ldquo;高级&rdquo;功能，这些就不细说了。Blueprint的特点简单总结如下：</p><ol>    <li>采用浮动来实现布局，简单明了</li>    <li>950两侧没有margin, 最后一列的class需要加上<code>last</code></li>    <li>采用额外标签来清除浮动</li></ol><h4>960.gs的实现</h4><p>谈到960栅格系统，不得不提<a href="http://www.sowshow.cn/upload/200907280046218412.png" width="590" /><br />有意思的几点：</p><ol>    <li>margin是均匀放在950两侧的</li>    <li>所有grid除了宽度不同，左右边距都一致<code>margin: 0 10px;</code></li>    <li>代码简单清晰，起始和结束列不需要添加额外class</li></ol><p>很明显，Blueprint和960.gs都是采用浮动来实现布局的，主容器需要添加额外标签来清除浮动（<a href="http://www.sowshow.cn/upload/200907280046218052.png" width="492" /><br />注意，demo链接中的宽度是750的，但我们只要将<code>&lt;div id=&quot;doc&quot;&gt;&lt;/div&gt;</code>中的id改为<code>doc2</code>, 页面宽度就自动变为950宽了（YUI非常强大^o^）。来看下dom结构：<br /><img class="alignnone size-full wp-image-589" title="yui_950_3cols_dom" height="240" alt="" src="http://www.sowshow.cn/upload/200907280046220185.png" width="283" /><br />采用的也是浮动布局，简化后的CSS代码为：</p><pre>&lt;style type=&quot;text/css&quot;&gt;    .doc2 { margin: auto; width: 73.076em }    .yui-u { float: left; margin-left: 1.99%; width: 32% }    div.first { margin-left: 0 }    #ft { clear: both }&lt;/style&gt;</pre><p>YUI的特点是：</p><ol>    <li>依旧是采用浮动布局，槽（Gutter）宽通过<code>margin-left</code>来控制（Blueprint采用右边距，960.gs采用均分，这三个框架对槽的处理实在有意思）</li>    <li>总宽度采用em, 这样可以用在弹性布局上</li>    <li>栏的布局用的是百分比，采用了流体布局</li></ol><p>YUI的好处是能用来做自适应布局，在这前面两个框架里是没有的。但普通的定宽布局，YUI则显得有点麻烦，比如我们要实现四栏布局，dom得这样写：<br /><img class="alignnone size-full wp-image-593" title="yui_950_4cols_dom" height="352" alt="" src="http://www.sowshow.cn/upload/200907280046231140.png" width="308" /><br />先来两个两栏布局，再细分为四栏布局，清晰度上欠佳。</p><h4>更多栅格实现</h4><p>栅格化更多是一种布局思想，实现技术可以千差万别。比如今年冒出来的<a href="http://www.alistapart.com/articles/fauxabsolutepositioning">伪绝对定位</a>，立刻就可以用来实现栅格系统。明城兄弟<a href="http://lab.gracecode.com/demo/grid.html">就尝试了一把</a>。</p><p>肯定还有非常多的栅格化实现方案，这里就不一一挖掘了。</p><h4>双飞翼栅格系统</h4><p>挺奇怪这个名字？请先阅读这篇文章：<a href="http://lifesinger.org/blog/?p=659">渐进增强式布局探讨</a>. 简单说，双飞翼布局是一种布局实现技术，可以利用它来实现一整套栅格系统。</p><p>先看test页面：<a href="http://lifesinger.org/lab/grids_test1.html">Grids Layout Test</a>.</p><p>具体技术细节在<a href="http://lifesinger.org/blog/?p=659">渐进增强式布局探讨</a>一文中已经阐述，这里不再重复。有几点需要说明：</p><ol>    <li>这套栅格系统并不能实现所有布局。这和YUI Grids类似，只能实现预定的一些布局。比如三栏布局，目前只加入了5 : 13 : 6, 5 : 12 : 7, 9 : 9 : 6, 8 : 8 : 8四种情况，这是从淘宝的现有页面中分析总结出来的。对于同一个站点来说，太多不同的三栏比例不是好事（淘宝目前都有点多，以后可能还会进一步统一）。因此如果采用这套栅格系统的话，需要先分析站点，定义出一套合适的比例。这里有个所有比例的自动生成工具：<a href="http://lifesinger.org/lab/grids_css_generator.html">grids_css_generator.html</a>.</li>    <li>关于命名：<code>.grid-c2-s6</code>表示两栏（<code>c2: column 2</code>）布局，<code>sub</code>栏的宽度是4列（<code>s4: sub width is 4 * 40 -10</code>）. 而<code>.grid-c2-s6f</code>, 最后的<code>f</code>表示两栏布局的第二种情况，即<code>sub</code>和<code>main</code>互换。类似地，<code>.grid-c3-s5e6d</code>表示三栏布局，其中<code>sub</code>栏的宽度是5, <code>extra</code>栏的宽度是6, 最后的<code>d</code>表示是<code>s5e6</code>三栏布局中的第四种情况。</li>    <li>为了方便使用，将最常用的两栏布局<code>.grid-c2-s5</code>用<code>.grid-c2</code>直接表示。同样的，<code>.grid-c3</code>表示<code>.grid-c3-s5e6</code>. 这是淘宝的默认值，其他站点可以根据实际情况修改。</li>    <li>这套布局符合渐进增强式工作流程。细心的你可能已经发现，所有两栏布局和三栏布局，HTML中的DOM结构是完全一样的，只有最外层<code>div</code>的<code>class</code>不同。如果要交换左右栏，只要非常简单的修改下<code>class</code>就可以。</li>    <li>实际使用时，两栏布局和三栏布局已经够用。其实有了两栏，其它布局就都可以组合出来。这里有一个尝试性页面：<a href="http://lifesinger.org/lab/grids_test4_v0.1.html">grids_test4_v0.1.html</a>. 组合布局看起来很强大，但实际使用时会把问题搞复杂，不推荐使用，干脆忘掉吧。</li></ol><p>最后来看下两个测试页面：<a href="http://lifesinger.org/lab/grid-c2_test.html">两栏布局grid-c2_test.html</a> 和 <a href="http://lifesinger.org/lab/grid-c3_test.html">三栏布局grid-c3_test.html</a>.</p><p>目前除了发现在ie6下有个bug（超大图片等会撑乱布局，其实可以用<code>overflow: hidden</code>来解决，但考虑<code>overflow</code>的<a href="http://lifesinger.org/blog/?p=614">负面影响</a>，最后还是由布局内部的模块来自主控制的好），尚未发现其他问题。</p><h4>小结</h4><p>栅格系统更多的是一种布局思想，在实际使用时，根据具体需求选用合适的技术来实现即可。需要注意的是，对于栅格的技术实现来说，太灵活未必是件好事，适度灵活最难得。怎么才能适度呢？这需要疯狂实践 + 不断的反思 + 持续的重构 + 悟&hellip;</p><p>栅格搭好了页面框架，接下来很重要的一件事情就是往里面添加内容模块。让内容模块规范化，让页面生成工业化，对大型站点来说，这是栅格系统最有商业价值的地方。下一篇也是本系列最后一篇将展示栅格系统中的模块化应用。</p>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200907/158.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=158</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=158&amp;key=b82a931a</trackback:ping></item><item><title>BluePrint 控件的使用说明</title><author>fayunlk@qq.com (fayunlk)</author><link>http://www.sowshow.cn/ec-design/200907/157.html</link><pubDate>Mon, 27 Jul 2009 16:00:27 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200907/157.html</guid><description><![CDATA[<p>（一）javaScript 中如何访问 BluePrint 控件:<br />每个控件在Html中的ID为：控件名称 +&ldquo;_&rdquo;+ DataField 名</p><p>&nbsp;&nbsp; 如：控件名&nbsp;&nbsp; isName&nbsp;&nbsp;&nbsp; DataField 为 name</p><p>&nbsp;&nbsp;&nbsp;&nbsp; 则在Javascript 中： isName_name</p><p>&nbsp;</p><p>（二）OutputDataGrid<br />1)&nbsp; 显示多少行在 Config.web 中定义，<br />&nbsp;&nbsp; 在 appSetting 中：&lt;add key=&quot;pageSize&quot; value=&quot;10&quot; /&gt;</p><p>如某页需要特殊，则&nbsp; this.CustomPageSize= 行数 即可</p><p>&nbsp;</p><p>2) 如何显示总页数<br />资源设为：&nbsp;</p><p>datagrid_total&nbsp;&nbsp; 总共{0}条记录</p><p>&nbsp;</p><p>3）设置如何从数据库取数据（表、存储过程）<br />&nbsp;&nbsp; 1）TableName ：表名</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; whereCondition : 查询条件，带 where</p><p>&nbsp;&nbsp; 2）SQL 属性：当此属性填写时，则TableName ,whereCondition 被忽略</p><p>&nbsp;&nbsp; 3）UseStoreProcedure = true</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TableName&nbsp; 填写存储过程名</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; whereCondition:&nbsp; 参数&nbsp; ,必需要参数</p><p>&nbsp; 如1：存储过程 (一个参数)</p><p>create&nbsp; procedure usp_getStudent @ssex char(2) as</p><p>&nbsp; select sno,sname,ssex,sage from student where <a href="mailto:ssex=@ssex">ssex=@ssex</a></p><p>return</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 使用： UseStoreProcesur :&nbsp; true</p><p>TableName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp; usp_getStudent</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WhereCondition&nbsp; :&nbsp;&nbsp; @ssex=男&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //注意：男不用引号</p><p>&nbsp;&nbsp;&nbsp;</p><p>&nbsp; 如2：存储过程 (两个参数)</p><p>create&nbsp; procedure usp_getStudent @ssex char(2)，@sage int&nbsp; as</p><p>&nbsp; select sno,sname,ssex,sage from student where <a href="mailto:ssex=@ssex">ssex=@ssex</a> and sage&gt;@sage</p><p>return</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 使用： UseStoreProcesur :&nbsp; true</p><p>TableName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp; usp_getStudent</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WhereCondition&nbsp; :&nbsp;&nbsp; @ssex=男 ,@sage=23</p><p>&nbsp;</p><p>4）颜色设置 layout.css<br />把下列设置到 datagrid 的对应项的 cssclass 。</p><p>.datagrid_header</p><p>.datagrid_rowitem</p><p>.datagrid_alternating</p><p>.datagrid_pager</p><p>.select</p><p>&nbsp;</p><p>5）如何根据数据条件设置不同的颜色<br />&nbsp;&nbsp; 用到的事件：ItemDataBound ,&nbsp; 当执行 DataBind 时每行发生一次。</p><p>&nbsp;</p><p>&nbsp; 如没有用到模板：</p><p>if (e.Item.ItemType == ListItemType.Item||e.Item.ItemType == ListItemType.AlternatingItem)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp; string lbl1 = e.Item.Cells[0].Text;&nbsp;&nbsp; // 第1列</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( lbl1 == &quot;ADA&quot; ||lbl1==&quot;ADL&quot; )</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e.Item.ForeColor = System.Drawing.Color.Red;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p><p>&nbsp; 如是模板列：</p><p>DataRowView&nbsp; drv =(DataRowView) e.Item.DataItem ;</p><p>Label lbl1 = (Label)&nbsp; drv[&ldquo;airportid&rdquo;] ;&nbsp;&nbsp; //airportid&nbsp; 为label id</p><p>或：</p><p>&nbsp; Label lbl1 = (Label) e.Item.FindControl(&ldquo;airportid&rdquo;) ;&nbsp;&nbsp; //airpoetid 为Lable id</p><p>&nbsp; TextBox&nbsp; t1 = (TextBox) e.Item.FindControl(&ldquo;name&rdquo;);</p><p>6）如何在列表中设置多个按钮 （选择列按钮）<br />&nbsp;&nbsp; 第一步：添加一个 select 列 ，命令名为：Select1&nbsp;&nbsp; 列名为 察看</p><p>&nbsp;&nbsp; 第二步：添加一个 select 列 ，命令名为：Select2&nbsp;&nbsp; 列名为 明细</p><p>&nbsp;&nbsp; 第三步：在该列表的ItemCommand 事件中：</p><p>通过&nbsp; e.CommandName.ToString() 得到按钮那一个按钮</p><p>通过&nbsp; e.Item.ItemIndex&nbsp; 得到是第几行。</p><p>（三）&nbsp; ExportButton<br />&nbsp;&nbsp;&nbsp; ExportButton1.ExportToExcel( OutputDataGrid1 );&nbsp; //输出到 Excel</p><p>&nbsp;&nbsp;</p><p>columnsName ： 用于写入 Excel 时的列名，对应datagrid 中各字段的列名</p><p>&nbsp;&nbsp; 如：学号，姓名，性别，年龄</p><p>filename : abcd.xls&nbsp;&nbsp; 文件名</p><p>&nbsp;</p><p>&nbsp;</p><p>（四） InputSelect<br />&nbsp;InitUI&nbsp; 仅负责把资源替换</p><p>&nbsp;从服务器去数据由下述完成：&nbsp;</p><p>Submiter submiter=new Submiter(this);</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; submiter.InitInsertMode();</p><p>&nbsp;&nbsp;&nbsp;&nbsp; 当 该控件用于报表或查询的条件输入时，需要如此处理。</p><p>&nbsp;</p><p>&nbsp;&nbsp;&nbsp; 表中必须有 fatherid 字段，如没有，可以利用视图解决</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如 arcTypeID</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sort&nbsp;&nbsp;&nbsp;&nbsp; typeid&nbsp;&nbsp;&nbsp;&nbsp; typename</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 21&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 男</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 21&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 女</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 上海</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 北京</p><p>&nbsp;&nbsp;&nbsp; 那么：&nbsp; create&nbsp; view&nbsp; v_arcTypeid (fatherid,typeid,typename) as</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select sort,typeid,typename from arcTypeid</p><p>&nbsp;</p><p>&nbsp;&nbsp;&nbsp; 然后要显示 sort= 21 ， 则组件inputSelect 的 fatherid 属性设置为 21 即可。</p><p>&nbsp;</p><p>（五） outputButton<br />&nbsp;&nbsp;&nbsp;&nbsp; OnClickString:&nbsp; javascript 函数或代码</p><p>&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp; 如：//document.getElementById('InputString1_value').value = QueryString</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function aabb(){</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var obj1 = eval(&quot;window.opener.document.all.IPSname_name&quot;);</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; obj1.value = document.getElementById('InputString1_value').value;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.close();</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p><p>&nbsp;&nbsp;&nbsp;&nbsp; outputButton1.onClickString = aabb();&nbsp;&nbsp; //aabb为javaScript 函数</p><p>&nbsp;</p><p>（六） InputPopupString:<br />&nbsp; 1 先要设计弹出页面<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 弹出页面负责把选择的值填回 父页。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 方法：</p><p>function aabb(){</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var obj1 = eval(&quot;window.opener.document.all.IPSname_name&quot;);</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; obj1.value = document.getElementById('InputString1_value').value;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.close();</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p><p>&nbsp;//&nbsp;&nbsp;&nbsp; outputButton1.onClickString = aabb();&nbsp;&nbsp; //aabb为javaScript 函数</p><p>IPSname_name 为 父页上的控件名</p><p>InputString1_value 为子页上的控件名</p><p>&nbsp;2 向子页传递参数，<br />sub.aspx?op=1&amp;port=ab</p><p>1）可以通过 url参数完成</p><p>&nbsp;&nbsp; 即&nbsp; this.GetQueryString( 参数名)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.GetQueryString( op)&nbsp; 得到 1</p><p>&nbsp;</p><p>2）可以通过 如aabb()函数那样完成</p><p>&nbsp;</p><p>function getUrl(){</p><p>&nbsp;var urlString = document.location.search; //document.getElementById('InputString1_value').value = urlString ; var obj2= eval( &quot;document.all.InputString1_value&quot;); obj2.value = urlString ; // QueryString }</p><p>&nbsp;</p><p>在body 中：onload=&quot;getUrl() 即可</p><p>（七）ImageHypleLink</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; enabled = false ,则 DisabledCss 要设置为：LinkDisenabled<br />&nbsp;</p>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200907/157.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=157</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=157&amp;key=de0e71e7</trackback:ping></item><item><title>Blueprint CSS框架使用说明</title><author>fayunlk@qq.com (fayunlk)</author><link>http://www.sowshow.cn/ec-design/200907/156.html</link><pubDate>Mon, 27 Jul 2009 14:50:40 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200907/156.html</guid><description><![CDATA[<p>&nbsp;Blueprint is a <strong>CSS framework</strong>, which aims to cut down on your CSS development time. It gives you a solid CSS foundation to build your project on top of, with an easy-to-use grid, sensible typography, and even a stylesheet for printing.</p><p>官方网站： <a href="http://www.zuomoban.cn/hbcms/php/r.php?url=http%3A%2F%2Fblueprintcss.org%2F"><font color="#191919">http://blueprintcss.org/</font></a><br /><br />Blueprint CSS <strong>框架将 html 标签设定为如下情况：</strong></p><ul>    <li>统一重置了 43 个 html 标签（<a href="http://www.zuomoban.cn/hbcms/php/r.php?url=http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml4%2Findex%2Felements.html"><font color="#191919">html 4.0 标签一共 91 个</font></a>）的属性，（html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td）。重置 html 标签的默认样式为：内外填充边框都为零，字体粗细、字体科族和字体样式继承，字体大小百分之百（在中文情况下使用这个还是改固定象素的好），高度以基线对齐；</li>    <li>设定 body 内的行高为 1.5 倍；字体大小百分之七十五（在中文情况下使用这个还是改固定象素的好）；字体颜色为 #222222 （接近于黑色）</li>    <li>设定 table 的边界间距为有间距、间距为零。（用有间距而间距为零的方式，估计只有这样才能将表格的边界间距设的看不到）；下外填充 1.4em ，宽度 100%；</li>    <li>设定 caption, th, td 内的元素居左，字体粗细为普通；caption 的背景色为 #EEEEEE （特浅的灰），th 背景为 #C3D9FF （浅蓝色）内的字体为粗体，th, td 的内填充为 上4px 右10px 下4px 左5px；</li>    <li>设定 table, td, th 内的元素高度居中；</li>    <li>设表格如果需要隔行换色的效果或者某行需要不一样的颜色，那么已经给定了 tr.even td 类，背景颜色为 #E5ECF9 （浅浅的蓝）</li>    <li>设定 tfood 为斜体字</li>    <li>设定 blockquote, q 元素之前和之后的填充内容为空，引用符号也为空；blockquote 的外填充为 1.5em 字体颜色 #666666 （深灰色），斜体字（中文斜体表现并不好，这个改了斜体不要而用背景色或者字体小一号来表示应该会好点）</li>    <li>设定链接下的图片的 border 为零；</li>    <li>设定 h1 至 h6 不同的字体大小粗细外填充，颜色为 #111111 （更接近于黑）</li>    <li>设定 h1 至 h6 下的图片的外填充为零</li>    <li>设定行内图片元素默认左漂浮，同时给出了一个 p img.right 的类，以备你需要图片右漂浮的时候来用（不过很多时候我们需要的是图片不漂浮，这个需要改或者单独建立一个类了）；</li>    <li>设定链接的颜色为 #000099 （深蓝色）带下划线，鼠标滑过和焦点状态颜色为黑色；</li>    <li>设定 abbr 和 acronym 下边缘为一象素点线的边框；</li>    <li>设定 del 删除字的颜色为 #666666 （中等灰度的灰）；</li>    <li>设定 pre 和 code 内地文字显示为 white-space:pre （就是不换行啦，现在&lt;nobr&gt;&lt;wbr&gt;&lt;xmp&gt;都不建议用了）；</li>    <li>定义了 ul 和 ol 列表前的标识为实心小圆点和阿拉伯数字。</li></ul><p>还有一些各个标签的上右下左的填充、行高、字号大小的设定不细说了。</p><p><strong>单独给定了几个可以根据实际需要单独调用的类：</strong></p><ul>    <li>.small 小号字；</li>    <li>.large 大号字；</li>    <li>.hide 不显示；</li>    <li>.quiet 字色为 #666666 （深灰色）；</li>    <li>.loud 字色为 #000000 （黑色）；</li>    <li>.highlight 背景色为 #FFFF00 （黄色）；</li>    <li>.added 背景色为 #006600 （绿色）字色为 #FFFFFF （白色）；</li>    <li>.removed 背景色为 #990000 （红色）字色为 #FFFFFF （白色）；</li>    <li>.first 左边的内外填充都为零；</li>    <li>.last 右边的内外填充都为零；</li>    <li>.top 上面的内外填充都为零；</li>    <li>.bottom 下面的内外填充都为零。</li></ul><p><strong>布局部分 CSS 说明：</strong></p><ul>    <li>.container 宽度 950 象素，整体居中模式。这个类应该是主要用于页面 body 元素内的整体页面控制的，好像也没其他用了；</li>    <li>.showgrid 无用的类，这个是用来演示这个框架的一个辅助，可以将这个类删除；</li>    <li>body 元素设定为上下外填充 1.5em，左右外填充为零。</li></ul><p><strong>布局的列宽给出了 24 个不同宽度设定的数值：</strong></p><ul>    <li>div.span-1 至 div.span-24 全部设定为左漂浮，右外填充 10 象素；</li>    <li>div.last 设定右外填充为零象素；</li>    <li>.span-1 至 .span-24 从宽度 30 象素开始，每 40 象素为一单元增加；</li>    <li>.span-24 和 div.span-24 右外填充覆盖上面的设置，设置为零。</li></ul><p><strong>以上四项综合理解可以理解为：</strong></p><ul>    <li>.span-1 至 .span-23 如果用于 div 元素，那么这个 div 具有的属性是左漂浮，右外填充 10 象素，宽度各自；</li>    <li>.span-1 至 .span-23 如果如果用于其他元素，那么就只具有宽度属性而不具有漂浮属性也没有右外填充；</li>    <li>.span-24 是个特殊一点的样式，如果用于 div 元素，那么宽度为 950 象素，左漂浮，右外填充为零；</li>    <li>.span-24 是个特殊一点的样式，如果用于其他元素，那么宽度为 950 象素，无漂浮，右外填充为零；</li>    <li>div.last 这个类在 CSS 文件中的位置在 div.span-1 至 div.span-24 的后面，所以如果 .last 类应用于 div 元素，那么这个 div 元素的右外填充将覆盖成为零。</li></ul><p>内填充数值：</p><p>&nbsp;</p><ul>    <li>.append-1 至 .append-23 设置内右填充，从 40 像素开始，每 40 像素为一单元增加，.append-23 内右填充数值为 920 像素；</li>    <li>.prepend-1 至 .prepend-23 设置内左填充，从 40 像素开始，每 40 像素为一单元增加，.prepend-23 内左填充数值为 920 像素。</li></ul><p><strong>给定两个右边线样式：</strong></p><ul>    <li>div.border 设定右内填充 4px ，右外填充 5px ，右边线 1px 灰色（#EEEEEE）实线；</li>    <li>div.colborder设定右内填充 24px ，右外填充 25px ，右边线 1px 灰色（#EEEEEE）实线。</li></ul><p><strong>外填充样式：</strong></p><ul>    <li>.pull-1 至 .pull-24 设定左外填充，从负 40 象素开始到负 960 象素，每 40 象素为一个单元数值变化，同时具有左漂浮和相对定位属性；</li>    <li>.push-1 至 .push-24 设定上填充为零，下填充为 1.5 em ；左外填充，从 40 象素开始到 960 象素，每 40 象素为一个单元数值变化，右外填充，从负 40 象素开始到负 960 象素，每 40 象素为一个单元数值变化，同时具有右漂浮和相对定位属性。</li></ul><p>以上两项应该是这个 CSS 框架中最难理解的部分了，在这里不详细说明了，等到写实际应用的时候弄个列子一说就明白作用了；</p><p><strong>给定一些其他样式：</strong></p><ul>    <li>.box 顾名思义就是一个盒子了，哈，设定内填充 1.5em ，外下填充 1.5em ，背景颜色 #E5ECF9 (浅浅的蓝)</li>    <li>hr 设定 html 的 &lt;hr /&gt; 横线样式为：背景色 #DDDDDD (灰色)，字色 #DDDDDD (灰色)，两侧不允许有漂浮元素，无漂浮，宽度百分之百，高度 0.1em ，外填充上左右为零，下外填充为 1.5em ，没有边框。具体表现出来基本就是一根横的一象素灰色线了；</li>    <li>hr.space 这个样式是用在 &lt;hr /&gt; 标签内的，设定了背景色和字色都为白色。因为是用在 &lt;hr /&gt; 标签内，所以它同时具有 &lt;hr /&gt; 的设定样式，只是将背景色和字色从灰色覆盖为白色，所以表现起来其实就是一根横的一象素白色线。</li></ul><p><strong>给定清除浮动样式：</strong></p><ul>    <li>.clearfix:after 和 .container:after 设定 .clearfix 和 .container 之后的表现为：内容是&ldquo;.&rdquo;(一个小点)，显示为块元素，高度为零，两侧不允许有漂浮元素，可见度属性(visibility)为隐藏 (注：可见度 visibility 隐藏属性和 display 隐藏属性有占位区别，visibility 隐藏属性占据空间位置而 display 隐藏属性不占据空间位置)；</li>    <li>.clearfix 和 .container 设定显示样式为行内块(IE 不完全支持此属性，目前只是用这个来让 IE 获得 hasLayout )；</li>    <li>* html .clearfix 和 * html .container 设定在&ldquo;通配符下的 html 下的.clearfix 和 .container 两个样式&rdquo;属性高度为 1% (高度为 1% 作用和 zoom:1 的作用是一样的，IE 在 inline-block 加上 1% 或 zoom:1 获得类似 table-cell 的属性，只 IE6 以下识别)；</li>    <li>.clearfix 和 .container 设定显示样式为块模式(覆盖前面指定的行内块模式为块模式，但 IE 不会让 hasLayout 消失，目的由此达到)；</li>    <li>.clear 设定为两侧不允许有漂浮元素。</li></ul><p>清除浮动的这三个类中的前两个比较复杂，除了清除浮动外还有一些其他的能力，基本上这几个样式的内容和先后顺序和代码层级设定完后就能在所有的浏览器下清除浮动了(如果某个浏览器不支持的话，那么估计也很难支持这个框架中的大部分 CSS 属性，那么这个框架对这个浏览器来说也没太大的意义了)，具体研究起来就太深了，我是搞不定，不过对我们用的人来说，只要知道你需要清除浮动的时候就用这两个类就可以了。顾名思义，.clearfix 类一般用在你不介意多加一个或者某些情况下你只能多加一个 div 或其他的 html 标签元素而本身内部不包含内容的元素身上来清除浮动，.container 类用在你的一个本身内部包含内容的元素身上来清除浮动。.clear 这个类嘛，没啥可说的了，就是不允许两侧有浮动元素。</p><p><strong>表单元素部分：</strong></p><p>这部分其实没有太多需要仔细研究的，大部分指定的是表单元素的一些字体、字号、字色和元素的边框、边距、宽、高等。这些就不详说了，说说可以稍微需要知道一下的。</p><ul>    <li>给定了元素的获得焦点的样式(一象浅黑边)，可惜 IE 不支持，所以这个作用不是那么大，毕竟 IE 现在还是占据市场份额的巨头；</li>    <li>给定了三个类，可以用来标识有特殊意义的块区：.error, .notice, .success ，都具有不同的背景色和边框色；</li>    <li>.error 顾名思义标识&ldquo;错误&rdquo;</li>    <li>.notice 顾名思义标识&ldquo;提示&rdquo;</li>    <li>.success 顾名思义标识&ldquo;成功&rdquo;</li></ul>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200907/156.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=156</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=156&amp;key=e311d21e</trackback:ping></item><item><title>Blueprint CSS framework (CSS框架)</title><author>fayunlk@qq.com (fayunlk)</author><link>http://www.sowshow.cn/ec-design/200907/155.html</link><pubDate>Mon, 27 Jul 2009 14:43:15 +0800</pubDate><guid>http://www.sowshow.cn/ec-design/200907/155.html</guid><description><![CDATA[<div class="content clear-block"><div id="summary"><img height="82" alt="" src="http://www.sowshow.cn/upload/200907271445320326.png" width="340" /><p><a href="http://www.blueprintcss.org/" target="_blank" jquery1248676462796="15">Blueprint</a> 是一个 CSS Framework,框架就是一个你可以用于你的网站项目的基本的概念上的结构体。css框架通常是一些css文件的集合，这些文件包括基本布局、表单样式、网格或简单结构、以及样式重置。它的目的是减少你的css开发时间。它提供一个可靠的css基础去创建你的项目，<a href="http://www.blueprintcss.org/" target="_blank" jquery1248676462796="16">Blueprint</a>由一个易用的网格、合理的布局和一个打印样式组成。</p></div><h3>使用方法：</h3><h4>1、下载<a href="http://www.blueprintcss.org/" target="_blank" jquery1248676462796="17">Blueprint</a>，解压blueprint文件夹中的文件。</h4><h4>2、引用三个CSS文件。</h4><dl class="code"><dt>在HTML文件中嵌入代码(blueprint为CSS文件所在目录)： </dt><dd><ol class="html4strict">    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">link</span> <span style="color: rgb(0,0,102)">rel</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;stylesheet&quot;</span> <span style="color: rgb(0,0,102)">href</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;blueprint/screen.css&quot;</span> <span style="color: rgb(0,0,102)">type</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;text/css&quot;</span> <span style="color: rgb(0,0,102)">media</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;screen, projection&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">link</span> <span style="color: rgb(0,0,102)">rel</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;stylesheet&quot;</span> <span style="color: rgb(0,0,102)">href</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;blueprint/print.css&quot;</span> <span style="color: rgb(0,0,102)">type</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;text/css&quot;</span> <span style="color: rgb(0,0,102)">media</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;print&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(128,128,128); font-style: italic">&lt;!--[if IE]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;blueprint/ie.css&quot; type=&quot;text/css&quot; media=&quot;screen, projection&quot;&gt;&lt;![endif]--&gt;</span></div>    </li></ol></dd></dl><h4>3、定义container(容器)，容器宽度为950px，整体居中模式。</h4><dl class="code"><dt>.showgrid是显示网格的类，仅在调试时使用。 </dt><dd><ol class="php">    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(51,153,51)">&lt;</span>div <span style="font-weight: bold; color: rgb(0,0,0)">class</span><span style="color: rgb(51,153,51)">=</span><span style="color: rgb(0,0,255)">&quot;container showgrid&quot;</span><span style="color: rgb(51,153,51)">&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(51,153,51)">&lt;/</span>div<span style="color: rgb(51,153,51)">&gt;</span></div>    </li></ol></dd></dl><h4>4、定义span，共24个span，每个宽度30px，右边填充10px，最后一个.last的右填充为0。</h4><dl class="code"><dt>三列等分，最后一列必须添加&ldquo;last&rdquo;类 </dt><dd><ol class="html4strict">    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-8&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>第一列，宽度40px*8=320px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-8&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>第二列，宽度40px*8=320px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-8 last&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>第三列，宽度40px*8-10px=310px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li></ol></dd></dl><dl class="code"><dt>单列宽度为24，最后一列右填充为0。 </dt><dd><ol class="html4strict">    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-24&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>单列24宽度为40px*24-10=950px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li></ol></dd></dl><h4>5、设置内填充值。</h4><ul>    <li>.prepend-1 至 .prepend-23 设置内左填充，从 40 像素开始，每 40 像素为一单元增加，.prepend-23 内左填充数值为 920 像素。</li>    <li>.append-1 至 .append-23 设置内右填充，从 40 像素开始，每 40 像素为一单元增加，.append-23 内右填充数值为 920 像素；</li></ul><dl class="code"><dt>内填充应计入div总宽度 </dt><dd><ol class="html4strict">    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-6 prepend-1&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>宽度为：40px*6+左内填充40px=280px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-6 append-2&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>宽度为：40px*6+右内填充80px=320px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-6 prepend-3 last&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>宽度为：40px*6+左内填充120px-10px=350px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li></ol></dd></dl><h4>6、设置外填充值。</h4><ul>    <li>.push-1 至 .push-23 设定左外填充，从40象素开始到920象素。</li>    <li>.pull-1 至 .pull-24 设定右外填充，从40象素开始到920象素。</li></ul><dl class="code"><dt>设置图片左右漂浮 </dt><dd><ol class="html4strict">    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-24&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-12&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;push-1&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向左漂浮40px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;push-2&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向左漂浮80px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;push-3&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向左漂浮120px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;push-4&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向左漂浮160px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;push-5&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向左漂浮200px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp;</div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-12 last&quot;</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向右漂浮40px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;top pull-1&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向右漂浮80px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;top pull-2&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span>&nbsp; &nbsp; &nbsp; &nbsp;</div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向右漂浮120px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;top pull-3&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span>&nbsp; &nbsp; &nbsp; &nbsp;</div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向右漂浮160px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;top pull-4&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span>&nbsp; &nbsp; &nbsp; &nbsp;</div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-10&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;</span>图片向右漂浮200px<span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">p</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">&nbsp; &nbsp; <span style="color: rgb(0,153,0)">&lt;<span style="font-weight: bold; color: rgb(0,0,0)">div</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;span-2 last&quot;</span>&gt;&lt;<span style="font-weight: bold; color: rgb(0,0,0)">img</span> <span style="color: rgb(0,0,102)">src</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;test-small.jpg&quot;</span> <span style="color: rgb(0,0,102)">class</span><span style="color: rgb(102,204,102)">=</span><span style="color: rgb(255,0,0)">&quot;top pull-5&quot;</span>&gt;&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span>&nbsp; &nbsp; &nbsp; &nbsp;</div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li>    <li style="font-weight: normal; vertical-align: top">    <div style="padding-right: 0pt; padding-left: 0pt; background: none transparent scroll repeat 0% 0%; padding-bottom: 0pt; margin: 0pt; font: 1em/1.2em monospace; vertical-align: top; padding-top: 0pt; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><span style="color: rgb(0,153,0)">&lt;<span style="color: rgb(102,204,102)">/</span><span style="font-weight: bold; color: rgb(0,0,0)">div</span>&gt;</span></div>    </li></ol></dd></dl><h4>7、清除浮动样式：</h4><ul>    <li>.clearfix:after, .container:after {content:&quot;\0020&quot;;display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}</li>    <li>.clearfix, .container {display:block;}</li>    <li>.clear {clear:both;}</li></ul><h4>8、其他样式：</h4><ul>    <li>.error 顾名思义标识&ldquo;错误&rdquo;</li>    <li>.notice 顾名思义标识&ldquo;提示&rdquo;</li>    <li>.success 顾名思义标识&ldquo;成功&rdquo;</li>    <li>.box 顾名思义就是一个盒子了，设定内填充 1.5em ，外下填充 1.5em ，背景颜色 #E5ECF9 (浅浅的蓝)</li>    <li>div.border 设定右内填充 4px ，右外填充 5px ，右边线 1px 灰色（#EEEEEE）实线</li>    <li>div.colborder设定右内填充 24px ，右外填充 25px ，右边线 1px 灰色（#EEEEEE）实线</li></ul></div>]]></description><category>电子商务网站建设</category><comments>http://www.sowshow.cn/ec-design/200907/155.html#comment</comments><wfw:comment>http://www.sowshow.cn/</wfw:comment><wfw:commentRss>http://www.sowshow.cn/feed.asp?cmt=155</wfw:commentRss><trackback:ping>http://www.sowshow.cn/cmd.asp?act=tb&amp;id=155&amp;key=ffffa441</trackback:ping></item></channel></rss>
