商城常用css分类代码
如图:

原代码如下:
<div class="allMerchan bgnone">
<h2 class="ttlm_category">查看所有商品类目</h2>
<ul>
<li class="clearfix">
<h3><a href="category.php?id=1" title="女装">女装</a></h3>
<p>
<a href="category.php?id=5" title="女装">短袖</a>|
<a href="category.php?id=10" title="女装">新品女装</a>|
<a href="category.php?id=15" title="女装">短袖POLO</a>|
<a href="category.php?id=20" title="女装">性感丝袜</a>|
<a href="category.php?id=25" title="女装">短袖T恤</a>|
<a href="category.php?id=30" title="女装">打底裤</a>|
<a href="category.php?id=417" title="女装">裙装</a>|
<a href="category.php?id=418" title="女装">衬衫</a>|
</p>
</li>
<li class="clearfix">
<h3><a href="category.php?id=2" title="数码">数码</a></h3>
<p>
<a href="category.php?id=42" title="数码">手机</a>|
<a href="category.php?id=47" title="数码">数码相机</a>|
<a href="category.php?id=53" title="数码">笔记本</a>|
<a href="category.php?id=58" title="数码">电脑配件</a>|
<a href="category.php?id=64" title="数码">办公</a>|
<a href="category.php?id=69" title="数码">MP4</a>|
<a href="category.php?id=430" title="数码">MP3</a>|
</p>
</li>
<li class="clearfix">
<h3><a href="category.php?id=3" title="文体">文体</a></h3>
<p>
<a href="category.php?id=73" title="文体">户外</a>|
<a href="category.php?id=78" title="文体">运动</a>|
<a href="category.php?id=82" title="文体">玩具</a>|
<a href="category.php?id=87" title="文体">书籍</a>|
<a href="category.php?id=92" title="文体">收藏</a>|
<a href="category.php?id=97" title="文体">宠物</a>|
<a href="category.php?id=427" title="文体">乐器</a>|
<a href="category.php?id=428" title="文体">汽车用具</a>|
</p>
</li>
<li class="clearfix">
<h3><a href="category.php?id=401" title="配饰">配饰</a></h3>
<p>
<a href="category.php?id=412" title="配饰">领带</a>|
<a href="category.php?id=413" title="配饰">围巾</a>|
<a href="category.php?id=414" title="配饰">男款皮带</a>|
<a href="category.php?id=415" title="配饰">女款皮带</a>|
<a href="category.php?id=423" title="配饰">女包</a>|
<a href="category.php?id=424" title="配饰">项链</a>|
<a href="category.php?id=425" title="配饰">钻戒</a>|
</p>
</li>
<li class="clearfix">
<h3><a href="category.php?id=402" title="家居">家居</a></h3>
<p>
<a href="category.php?id=403" title="家居">厨房用品</a>|
<a href="category.php?id=404" title="家居">浴室用品</a>|
<a href="category.php?id=405" title="家居">卧室用品</a>|
<a href="category.php?id=406" title="家居">收纳用品</a>|
<a href="category.php?id=407" title="家居">户外旅行</a>|
<a href="category.php?id=416" title="家居">雪尼尔布垫</a>|
<a href="category.php?id=421" title="家居">床品套装</a>|
<a href="category.php?id=422" title="家居">浴帘</a>|
</p>
</li>
</ul>
</div>
框架代码:
<div class="allMerchan bgnone">
<h2 class="ttlm_category">查看所有商品类目</h2>
<ul>
<li>
<h3><a>女装</a></h3>
<p><a>短袖</a></p>
<p><a>新品女装</a></p>
</li>
<li>
<h3><a>数码</a></h3>
<p><a>手机</a></p>
<p><a>数码相机</a></p>
</li>
</ul> </div>
商城常用css分类代码的更多相关文章
- discuz内置常用CSS代码分析
CSS多IE下兼容HACK写法 所有 IE浏览器适用:.ie_all .foo { ... } IE6 专用:.ie6 .foo { ... } IE7 专用:.ie7 .foo { ... } IE ...
- 常用css属性记录
CSS常用属性: 字体属性:(font)大小 font-size: x-large;(特大) xx-small;(极小) 一般中文用不到,只要用数值就可以,单位:PX.PD样式 font-style: ...
- CSS 分类 (Classification)
★★CSS 分类属性 (Classification)★★ ⑴CSS 分类属性允许你控制如何显示元素,设置图像显示于另一元素中的何处,相对于其正常位置来定位元素,使用绝对值来定位元素,以及元素的可见度 ...
- 根据判断PC浏览器类型和手机屏幕像素自动调用不同CSS的代码
1.媒体查询方法在 css 里面这样写 -------------------- @media screen and (min-width: 320px) and (max-width: 480px) ...
- 常用 Java 静态代码分析工具的分析与比较
常用 Java 静态代码分析工具的分析与比较 简介: 本文首先介绍了静态代码分析的基 本概念及主要技术,随后分别介绍了现有 4 种主流 Java 静态代码分析工具 (Checkstyle,FindBu ...
- 十五个常用的jquery代码段【转】
好的文章顶一个 回到顶部按钮 通过使用 jQuery 中的 animate 和 scrollTop 方法,你无需插件便可创建一个简单地回到顶部动画: 1 // Back to top 2 $('a.t ...
- 十五个常用的jquery代码段
十五个常用的jquery代码段 回到顶部按钮 通过使用 jQuery 中的 animate 和 scrollTop 方法,你无需插件便可创建一个简单地回到顶部动画: 1 // Back to top ...
- CSS Hack汇总快查(CSS兼容代码演示)
文章出处和来源网址:http://www.divcss5.com/css-hack/c284.shtml 以下是常用CSS HACK问题及解决代码-DIV+CSS网支持 1.屏蔽IE浏览器(也就是IE ...
- css初始化代码方案
(从已经死了一次又一次终于挂掉的百度空间人工抢救出来的,发表日期 2014-06-24) 为了消除各浏览器对css默认的设置,保持网页在各浏览器中的外观保持一致,初始化css就显得非常必要了!很多时候 ...
随机推荐
- asp.net mvc 简单文件下载
文件下载,先获取文件的路径,在通过招到文件的存放地址,通过return File(path, "text/plain", Url.Encode(name));,可以直接下载,但是必 ...
- 输入一个数组,求最小的K个数
被这道题困了好久,看了剑指Offer才知道OJ上的要求有点迷惑性. 题目: 输入n个整数,找出其中最小的K个数.例如输入4,5,1,6,2,7,3,8这8个数字,则最小的4个数字是1,2,3,4. 一 ...
- js 删除
/* * 方法:Array.remove(dx) * 功能:根据元素值删除数组元素. * 参数:元素值 * 返回:在原数组上修改数组 * 作者:pxp */ Array.prototype. ...
- 运行python代码报错UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 91: ordinal not in range(128)的解决办法
1.通过搜集网上的资料,自己多次尝试,问题算是解决了,在代码中加上如下几句即可: import sys reload(sys) sys.setdefaultencoding('utf-8') 2.原因 ...
- IE/FF/Chrome下document.documentElement和document.body的 scrollHeight/scrollTop/clientHeight
IEdocument.documentElement.scrollHeight 浏览器所有内容高度 ,document.body.scrollHeight 浏览器所有内容高度document.do ...
- Linux下修改进程名称
catalog . 应用场景 . 通过Linux prctl修改进程名 . 通过修改进程argv[]修改进程名 . 通过bash exec命令修改一个进程的cmdline信息 1. 应用场景 . 标识 ...
- jpa findOne()用法
findOne(Interger id) 如果实体类没有id这个属性的话是会报错的 改别人的代码神烦...
- 加州大学伯克利分校Stat2.2x Probability 概率初步学习笔记: Section 3 The law of averages, and expected values
Stat2.2x Probability(概率)课程由加州大学伯克利分校(University of California, Berkeley)于2014年在edX平台讲授. PDF笔记下载(Acad ...
- 【JavaScript与JQuery获取H2的内容】
撰写日期:2016-7-13 11:05:07 JavaScript与JQuery获取DOM内容是有区别的,接下来看一例子 栗子: Jquery-获取H3中的内容然后Dom转换为Jquery < ...
- oracle报错:ORA-28000: the account is locked
连接数据库的时候报: ORA-28000: the account is locked 解决方法: cmd-进入命令行 C:\Users\0>sqlplus /nolog SQL*Plus: R ...