摘要: //珠宝定制类->珠宝选择控件 function Custom(customContent){ this.CustomObjection=customContent;//保存定制弹出层对象 this.tabMenu=$(".customTab li",this.CustomObjection);//保存选项卡列表 this.tabMenuActivesMain=$(".customBodyRightChangeContent>div",this.CustomObjection);//保存选项卡对应的切换内容区域列表 this.stoneOpt 阅读全文
posted @ 2012-10-29 16:55 一只帅蚂蚁 阅读(405) 评论(0) 推荐(0) 编辑
摘要: IE下的特殊情况下面是14条特殊情况你看一下是哪个问题出错了这些仅供参考:1. 文字本身的大小不兼容。同样是font-size:14px的宋体文字,在不同浏览器下占的空间是不一样的,ie下实际占高16px,下留白3px,ff 下实际占高17px,上留白1px,下留白3px,opera下就更不一样了。解决方案:给文字设定 line-height 。确保所有文字都有默认的 line-height 值。这点很重要,在高度上我们不能容忍1px 的差异。2.ff下容器高度限定,即容器定义了height之后,容器边框的外形就确定了,不会被内容撑大,而ie下是会被内容撑大,高度限定失效。所以不要轻易给容器定 阅读全文
posted @ 2012-10-22 14:21 一只帅蚂蚁 阅读(301) 评论(0) 推荐(0) 编辑
摘要: CSS:.CommentCustom{ height:210px; margin:30px 0;}.CommentCustom .scrollWrap{ position:relative; height:170px;}.CommentCustom .scrollWrap span.btn{ position:absolute; cursor:pointer; display:block; width:10px; height:122px; background:url(../images/cssPos/custom_last_bg.jpg) no-repeat left top;}.Comm 阅读全文
posted @ 2012-10-09 11:35 一只帅蚂蚁 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Css:.CustomSearch{position:relative;background:#fff; width:170px;} .CustomSearch .title{ cursor:pointer; height:20px; line-height:20px;*line-height:22px;overflow:hidden; padding-left:5px; }.CustomSearch .title em{ float:right; margin:7px 10px 0 0; display:block;width:10px; height:10px; background: u 阅读全文
posted @ 2012-10-09 11:24 一只帅蚂蚁 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 简单的css,可以根据要求自定义内容区域大小:#customPop{position:fixed;_position:absolute; display:none; left:0; top:0; z-index:2000;}#customOpacity{ position:absolute; opacity:0.3;filter:Alpha(Opacity=30); z-index:2001; left:0; top:0; width:800px; height:800px;background:#000;}#customMain{ position:relative;z-index:2002 阅读全文
posted @ 2012-10-09 10:53 一只帅蚂蚁 阅读(1472) 评论(0) 推荐(0) 编辑
摘要: Css:<style type="text/css">.slideStyle{position:relative;width:750px; height:300px; border:1px solid red;}.slideStyle div.slideBox{ position:relative;width:750px; height:300px; overflow:hidden;}.slideStyle div.slideBox ul.imgList{ position:absolute;left:0; top:0;}.slideStyle div.slid 阅读全文
posted @ 2012-10-09 10:44 一只帅蚂蚁 阅读(371) 评论(0) 推荐(0) 编辑