www.gusucode.com > 叶子美容网图文下拉导航菜单源码程序 > 叶子美容网图文下拉导航菜单/css/layout.css
@import url(menu.css); .head,.body,.foot{width:970px;} .body{background:white;overflow:auto;padding-bottom:51px;} .mainnavbox{float:right;width:350px;} .mainnavbox ul li{float:left;} .mainnavbox ul li a{color:white;} .mainnavbox div.floatrgt div, .mainnavbox div.floatrgt span{float:left;display:inline;margin-left:5px;} .mainnavbox div.floatrgt span{margin-top:2px;} .mainnavbox div.floatrgt div span{width:5px;margin:0;} .mainnavbox ul li{font-size:14px;display:inline;margin-left:15px;} .mainnavbox div.floatrgt{display:inline;margin:0px 0 0 10px;} .head{height:85px;} .head span.floatlft{margin-top:15px;} .head .title{ float:left; padding-left:0px; margin-top:15px; } .head .title h2 a{ width:406px; height:50px; display:block; font-size:0px; overflow:hidden; text-indent:-1200px; background:url(http://www.yezizx.com/yz_images/index/images/img/newlogo.jpg) center center no-repeat; } .head .title h1 a{ width:406px; height:50px; display:block; font-size:0px; overflow:hidden; text-indent:-1200px; background:url(http://www.yezizx.com/yz_images/index/images/img/newlogo.jpg) center center no-repeat; } .head div.mainnavbox{margin-top:50px;} /*----------body code-----------*/ .Mainbdy{width:982px;background:url(../images/bg/bg-bdy.png) repeat-y;position:relative;} .shadow-tlft{position:absolute;} .shadow-trgt{left:976px;top:0;} .shadow-blft{bottom:0;left:0;} .shadow-brgt{bottom:0;left:976px;} .shadow-box{width:970px;height:6px;overflow:hidden;} .shadow-box span, .shadow-box2 span{float:left;width:10px;height:6px;background:url(../images/bg/shadow-bglr.jpg) no-repeat;} .shadow-box2 span{background-position:0 -6px;} .shadow-box span.shadow-rgt{background-position:100% 0;} .shadow-box2 span.shadow-rgt{background-position:100% -6px;} .shadow-box span.shadow-mid{background:url(../images/bg/shadow-bg.jpg) repeat-x;width:950px;} .shadow-box2 span.shadow-mid{background:url(../images/bg/shadow-bg2.jpg) repeat-x;} .bdy-cont,.bdybot-box{float:left;width:912px;display:inline;margin:10px 0px 0px 29px;} .martop14 {margin-top:14px;} .nav { float:left; width:100%; height:21px; clear:both; overflow:hidden; } .bdy-cont{margin-top:0; margin-bottom:10px;} .bdy-cont .imgscrol{ float:left; width:222px; height:280px; display:inline; } .bdy-contitem{float:left;width:222px;} .item-tit dd span.floatlft{background:url(../images/bg/icons.gif) no-repeat 0 13px;} .item-tit dd span.floatlft a{padding-left:20px;color:#006b3f;font-size:14px;} .item-tit dd a.floatrgt{width:29px;height:5px;background:url(../images/bg/icons_more.gif) no-repeat;display:inline;margin:15px 0 0 0;text-indent:-9999px;} .item-tit dd{line-height:34px;height:34px;border-bottom:1px solid #d2d0d1;overflow:hidden;} .item-main{clear:both;overflow:hidden;display:inline;} .picbox, .picbox img{float:left;} .newslst{float:left;width:100%;} .newslst li{float:left;width:100%;background:url(../images/bg/icons.gif) no-repeat -26px -36px;} .newslst li a{padding-left:10px; font-family:"宋体"} .bdy-contitem2{width:317px;display:inline;margin-left:38px;} .bdy-contitem-tj{width:258px;margin:10px 0 0 0;overflow:hidden;} .newslst dd{float:left;width:100%;height:50px; margin-bottom:22px; margin-top:10px;} .newslst dd span.floatlft img{width:72px;height:50px;border:1px solid #ccccca; } .newslst dd div.floatrgt{width:225px;} .newslst dd div.floatrgt h3 a{font-size:14px;font-weight:normal;color:#707070;} .newslst dd div.floatrgt div{color:#a0a0a0;line-height:16px; font-family:"宋体"; text-align:justify;} .bdy-contitem3{width:304px; float:right;} .bdybot-box{padding:25px 0 0 0;border-top:1px solid #d2d1cf;} .bdybot-box ul li{width:178px; float:left; border-right:1px solid #d2d1cf; text-align:center; height:35px;} .foot-ins{float:left;width:100%;margin-top:20px;text-align:right;} .foot-ins,.foot-ins a{color:white;} .font-l{font-size:10px;margin-top:5px;} .focusbox{float:left;width:100%;height:487px;position:relative;overflow:hidden;} .detail-pos{position:absolute;top:330px;left:57px;} .focusbox .bglink { font-size:12px; text-align:center; float:right; margin-right:30px; margin-top:320px; display:inline; } .focusbox .bglink h2 a { display:block; width:95px; height:25px; color:#353535; line-height:25px; text-decoration:none; font-size:0px; overflow:hidden; text-indent:-2000px; background:url(/yz_images/index/images/bg/bg_link.png) no-repeat 0 0; } .focusbox .bglink h2 a:hover { color:#000; background:url(/yz_images/index/images/bg/bg_link.png) no-repeat 0 -25px; } .focusbox .h1link { font-size:12px; text-align:center; float:right; margin-right:30px; margin-top:120px; display:inline; } .focusbox .h1link h1 a { display:block; width:95px; height:25px; color:#353535; line-height:25px; text-decoration:none; font-size:0px; overflow:hidden; text-indent:-2000px;} #menu{left:29px;top:25px;position:absolute;z-index:11;height:50px;width:915px} #menu li{display:block;float:left;display:inline;margin-right:1px;} #menu li a.main{color:white;font-size:14px;float:left;width:182px;height:50px;background:transparent url(../images/bg/nav-bg.jpg) repeat-x} #menu li a span{float:left;display:inline;margin:20px 0 0 10px;} #menu li.menuCompany ul{display:none;position:absolute;top:50px;left:0;padding:10px 0;width:912px;overflow:hidden;border:1px solid #ccc;border-top:none;background:white;} #menu li.menuCompany:hover a.main{width:180px;height:49px;border:1px solid #ccc; border-bottom:none;background:white;text-decoration:none;cursor:pointer;color:#015d22;} .subnav_container {padding:20px 0;} .sub_nav li{float:left;line-height:24px;font-weight:bold;display:inline;margin-left:20px;background:url(../images/bg/nav-icon.gif) no-repeat 0 7px;} .sub_nav li a{padding-left:18px;color:#015d22;} .imglst-box, .imglst-box a,.imglst-box a img{float:left;display:inline;} .imglst-box a{margin:0 10px 0 0;} .imglst-box a img{padding:5px;border:1px solid #c9caca;height:106px;} .sub-navlft{float:left;width:138px;border-right:1px dotted #bfd0bf;} .sub-navlft li{width:100%;} .font14{font-size:14px;} .border-non{border-right:none;} .sub-nav2,.sub-nav2 li,.sub-nav2 div,.sub-nav2 div span{float:left;} .sub-nav2{width:114px;overflow:hidden;} .sub-nav2 li{margin-left:7px;} .sub-nav2 div{border-left:1px dotted #bfd0bf;padding-left:13px;display:inline;display:inline;font-family:"宋体";} .sub-nav2 div span{width:100%;background:url(../images/bg/icon2.gif) no-repeat 0 4px;margin:2px 0 2px 0;} .sub-nav2 div span a{color:#898989;padding-left:12px;} .nav-imgbox,.nav-imgbox img{float:left;} .nav-imgbox img{height:66px;border:1px solid #bdb9b8;display:inline;margin-left:12px;} .nav-imgbox2 img{margin-left:7px;} .nav-imgbox2 { margin-top:0px;} .nav-imgbox{display:inline;margin:10px 0 0 0;padding-right:4px;} .thumb-pic span{float:left;} .thumb-pic{clear:both;} .thumb-pic2 img{width:266px;height:122px;padding:5px;} .thumb-pic2 span{width:auto;} .thumb-pic2 span{margin:5px 6px 0 7px;} .sub_nav_skin div.sub-nav2{width:144px;} .imglst-box2{float:right;} .imglst-box2 a img{height:118px;} .imglst-box3 a img{width:163px;height:113px;} .sub_nav_skin2 div.sub-nav2{margin-left:11px;} .blank{width:29px;height:60px;background:white;float:left;} .tele-box,.blank{position:absolute;bottom:10px;right:29px;} .blank{left:0;top:420px;} .bdycont-lft{float:left;width:628px;border-right:2px solid #f2f2f2;overflow:hidden;margin-top:38px;} .menusbox{float:left;width:100%;height:70px;overflow:hidden;} .bdycont-menus{float:left;width:660px;height:40px;background:url(../images/bg/guide-bg.jpg) repeat-x 0 -80px;} .bdycont-menus li{float:left;line-height:40px;display:inline;margin-right:2px;} .bdycont-menus li span, .bdycont-menus li a{height:40px;float:left;background:url(../images/bg/guide-bg.jpg) 0 -40px;} .bdycont-menus li span{width:7px;} .bdycont-menus li span.libg-rgt{background-position:100% -40px;} .bdycont-menus li a{text-align:center;background-position:0 -120px;color:#000; padding-left:6px; padding-right:6px;} .bdycont-menus li.hover span,.bdycont-menus li:hover span{background:url(../images/bg/guide-bg.jpg) 0 0;} .bdycont-menus li.hover span.libg-rgt,.bdycont-menus li:hover span.libg-rgt{background-position:100% 0;} .bdycont-menus li.hover a,.bdycont-menus li:hover a{background:#007440;color:white;text-decoration:none;} .bdycont-menus_1 {float:left;width:660px;height:40px;background:url(../images/bg/guide-bg.jpg) repeat-x 0 -80px;} .bdycont-menus_1 li{float:left;line-height:40px;display:inline;margin-right:2px;} .bdycont-menus_1 li span, .bdycont-menus_1 li a{height:40px;float:left;background:url(../images/bg/guide-bg.jpg) 0 -40px;} .bdycont-menus_1 li span{width:7px;} .bdycont-menus_1 li span.libg-rgt{background-position:100% -40px;} .bdycont-menus_1 li a{text-align:center;background-position:0 -120px;color:#000; padding-left:3px; padding-right:3px;} .bdycont-menus_1 li.hover span,.bdycont-menus_1 li:hover span{background:url(../images/bg/guide-bg.jpg) 0 0;} .bdycont-menus_1 li.hover span.libg-rgt,.bdycont-menus_1 li:hover span.libg-rgt{background-position:100% 0;} .bdycont-menus_1 li.hover a,.bdycont-menus_1 li:hover a{background:#007440;color:white;text-decoration:none;} .mainbox{height:30px;float:left;width:100%;line-height:30px;background:#007440;} .mainbox ul{display:none; padding-left:20px;} .mainbox ul.block{display:block;} .mainbox ul, .mainbox ul a{color:#b3d6c6;} .main-bdycontbox,.bdy-itemcont{float:left;display:inline;width:100%;margin:35px 0 0 16px;} .bdy-itemcont{margin:38px 0 0 0;overflow:hidden;} .itemcont-tit dd{background:url(../images/bg/icons.gif) no-repeat 0 6px;} .itemcont-tit dd a{padding-left:23px;color:#007440;font-size:14px;font-weight:bold;} .bdy-itemins,.item-picsbox{float:left;width:552px;padding-left:21px;border-left:1px dotted #c9a059;margin:24px 0 0 0;color:#898989;} .bdy-itemins{font-family:"宋体";} .item-picsbox{margin:0;padding-top:15px;width:600px;} .item-picsbox li{float:left;width:177px;display:inline;height:290px;padding-right:10px;border-bottom:1px solid #c9caca;} .item-picsbox li a.floatlft,.item-picsbox li div,.item-picsbox li h3{float:left;width:100%;} .item-picsbox li h3 a{font-size:14px;color:#02713e;} .item-picsbox li h3{margin-top:5px;} .item-picsbox li div{font-family:"宋体";} .bdy-itemins-pics img{float:left;padding-bottom:8px;} .equip-box{width:257px;padding-bottom:10px;position:relative;margin-bottom:10px;} .equi-top, .equi-bottom{float:left;width:100%;height:8px;overflow:hidden;} .equi-top span, .equi-bottom span{float:left;width:16px;height:8px;background:url(../images/bg/corners.jpg) no-repeat;} .equi-top span.equi-top-rgt, .equi-bottom span.equi-top-rgt{background-position:100% 0;} .equi-top span.equi-top-mid, .equi-bottom span.equi-top-mid{width:225px;height:7px;background:white;border-top:1px solid #b2b2b2;} .equi-bottom span{background-position:0 -8px;} .equi-bottom span.equi-top-rgt{background-position:100% -8px;} .equi-bottom span.equi-top-mid{border-bottom:1px solid #b2b2b2;border-top:none;} .equi-middle{float:left;width:225px;padding:0 15px;border-left:1px solid #b2b2b2;border-right:1px solid #b2b2b2;} .equi-middle h3 a{color:#727171;font-size:14px;} .equi-middle a.floatlft{margin-top:5px;} .equi-middle a.floatlft img{float:left;width:225px;height:75px;padding-bottom:10px;} .detailbox2{position:absolute;top:112px;right:16px;} .quesitionbox,.askbox{float:left;width:100%;background:url(../images/bg/qa-bg.jpg) no-repeat 0 3px;} .quesitionbox a,.askbox span{padding-left:22px;width:540px;float:right;} .askbox span{font-family:"宋体";} .quesitionbox a{color:#007440;} .quesitionbox{margin-top:5px;} .askbox{background-position:0 -29px;margin-top:10px;color:#898989;line-height:16px;} .buttonsbox img{float:left;display:inline;margin:40px 0 0 25px;} .bdy-itemins-rq{color:#c9a059;} .bdy-itemins-rq span{color:#00703d;} .bdy-itemins-ys span{color:#007440;} .bdycont-rgt{float:right;margin-top:38px;width:258px;} .corgray{color:#898989;} .zj-desbox{float:left;width:100%;margin-top:5px;} .zj-desbox dl dd span a{font-weight:bold;color:#727171;font-size:14px;} .borderbot{padding-bottom:10px;border-bottom:2px solid #e6e6e6;} .article-xg{float:left;width:100%;margin-top:10px;} .article-xg li{float:left;width:100%;background:url(../images/bg/icon3.gif) no-repeat 0 5px;line-height:23px;} .article-xg li a{padding-left:15px; font-family:"宋体";} .zx-itembox{float:left;margin-top:13px;width:256px;border:1px solid #c9a059;} .zx-itembox dl{float:left;width:100%;background:url(../images/bg/icon3.gif) no-repeat 0 5px;height:36px;background:url(../images/bg/rgt-itembg.jpg) repeat-x;} .zx-itembox dl dd{float:left;display:inline;margin:8px 0 0 20px;width:145px;height:18px;background:url(../images/bg/zx-item.jpg) no-repeat;text-indent:-9999px;} .item-lilst{width:222px;padding:10px 17px 10px 17px;height:20px;border-top:1px solid #c9a059;overflow:hidden;} .item-lilst div.floatlft a{float:left;color:#c9a059;} .item-lilst div.floatlft span{font-family:Arial;font-size:8px;color:#b5b5b6;float:left;display:inline;margin:2px 0 0 10px;} .item-lilst span.floatrgt{display:inline;margin:8px 0 0 0;} .left01 h3{text-align:left;line-height:50px;font-size:30px; color:#007440; font-weight:500} .left01 h1,.left01 h1 a,.left01 h1 a:link,.left01 h1 a:visited,.left01 h1 a:hover,.left01 h1 a:active{text-align:left;line-height:35px;font-size:22px; color:#007440; font-weight:500;font-family:"微软雅黑", "宋体";} .left01 .info{height:28px;line-height:28px; text-align:left;} .left01 .info a{color:#369;} .left01 .info span.infoCol{padding:0px 10px;} .left01 .newscontent{padding:15px 15px 15px 0;line-height:auto;} .left01 .newscontent p{font-family:"宋体"; color:#676767; margin-bottom:14px; overflow:hidden;} .left01 .sharebox{height:38px;line-height:38px;text-align:right; padding-right:10px; margin-left:160px;} .ppcont-lft{float:left;width:242px;background-color:#efefef;margin-bottom:0px;} .ppcont-rgt{float:right;width:628px;} .menusabout{width:194px; line-height:35px; margin:25px 0 0 25px; padding-bottom:25px; border-bottom:1px dotted #c29a55; overflow:hidden;} .ppcont-menus{ padding-top:17px;} .ppcont-menus li:hover{ background-image:url(../images/about/about_bg.jpg)} .ppcont-menus li a{width:74px;text-align:center;color:#727171; font-size:14px} .ppcont-menus li span{color:#007440; padding-left:17px;} .ppcont-menus li.hover a,.ppcont-menus li.hover span,.ppcont-menus li:hover a,.ppcont-menus li:hover span{color:white;text-decoration:none;} .about-tel{width:194px;margin:25px 0 0 25px; padding-bottom:25px; border-bottom:1px dotted #c29a55; overflow:hidden;} .about-sj{width:194px;margin:25px 0 0 25px;padding-bottom:100px;} .doctor{padding:38px 0;} .doct-box{width:289px;padding-bottom:20px;position:relative;margin-bottom:10px; border-bottom:1px dotted #c29a55; overflow:hidden;} .doct-top, .doct-bottom{float:left;width:100%;height:8px;overflow:hidden;} .doct-top span, .doct-bottom span{float:left;width:8px;height:8px;background:url(../images/about/doctor_02.jpg) no-repeat;} .doct-top span.doct-top-rgt, .doct-bottom span.doct-top-rgt{background-position:100% 0;} .doct-top span.doct-top-mid{width:273px;height:7px;background:white;border-top:1px solid #b2b2b2; margin-top:1px;} .doct-bottom span.doct-top-mid{width:273px;height:7px;background:white;border-top:1px solid #b2b2b2; margin-top:-1px;} .doct-bottom span{background-position:0 -8px;} .doct-bottom span.doct-top-rgt{background-position:100% -8px;} .doct-bottom span.doct-top-mid{border-bottom:1px solid #b2b2b2;border-top:none;} .doct-middle{float:left;width:269px;padding:0 8px;border-left:1px solid #b2b2b2;border-right:1px solid #b2b2b2; margin-left:1px; overflow:hidden;} .doct-middle span{ float:left; padding-right:5px;} .doct-middle dl{ float:left; width:140px;} .doct-middle dl dt{ font-size:18px; color:#007440; padding-left:5px;} .doct-middle dl dt{ font-size:18px; color:#007440; padding-left:5px;} .doct-middle dl dt.small{ font-size:13px; color:#007440; padding-left:0px;} .doct-middle dl dd{color:#727171; padding-left:5px; font-family:"宋体"; padding-top:15px; } .doct-middle dl span.dx{width:90px;border-bottom:1px dotted #727171; height:17px; margin-left:5px;} .doct-middle dl a.floatrgt{ float:left;width:29px;height:5px;background:url(../images/bg/icons.gif) no-repeat 0 -43px;display:inline;margin:15px 0 0 5px;text-indent:-9999px;} .video{padding:28px 0;} .vid-box{width:129px;padding-bottom:10px;position:relative;margin-bottom:10px; overflow:hidden; padding-top:10px; float:left; margin-left:45px;} .vid-box span{ padding:3px; border:1px solid #B2B2B2; margin-top:5px;} .vid-box dl dt{ color:#007440;} .vid-box dl dd{ color:#727171;} .clearfloat {clear:both;height:0px;font-size:1px;line-height:0px;} .container {width:222px;height:252px;margin:0px auto;} .container A IMG {WIDTH: 222px;HEIGHT: 252px} .num {POSITION: absolute;WIDTH: 90px;FLOAT: right;TOP: 230px;LEFT: 160px} .num LI {TEXT-ALIGN: center;LINE-HEIGHT: 15px;LIST-STYLE-TYPE: none;MARGIN: 1px;WIDTH: 15px;FONT-FAMILY: Arial;BACKGROUND: url(../images/index/flashbutton.gif) no-repeat -15px 0px;FLOAT: left;HEIGHT: 15px;COLOR: #86a2b8;FONT-SIZE: 12px;CURSOR: pointer} .num LI.on {LINE-HEIGHT: 15px;WIDTH: 15px;BACKGROUND: url(../images/index/flashbutton.gif) no-repeat;HEIGHT: 15px;COLOR: #ffffff} #container_main{margin:0;padding:0 0 50px 0;text-align:left;background:transparent url(../images/bg/bg_wrapper_green2.jpg) scroll 50% 100% no-repeat;height:auto!important;overflow:hidden;} #site-search input.text{float:left;margin:0;padding:0 0 3px 22px;width:93px;height:15px;background:transparent url(../images/bg/main_green.gif) scroll 4px 5px no-repeat;border:1px solid #9ACD63;color:#fff;font-size:13px;font-weight:bold;} input.button{padding:0 3px} input.file{line-height:16px;background-color:#FFFFFF} #site-search input.submit{display:inline;float:right;cursor:pointer;border:none;float:left;width:30px;height:20px;margin:4px 0 0 7px;text-indent:-9999px;background-position:3px -347px} #goTopBtn { POSITION: fixed; BOTTOM: 35px; CURSOR: pointer; RIGHT: 0px } #zp dt{ color:#007440; font-size:14px; margin-top:10px;} #zp dd{ font-family:"宋体"; margin-top:5px; color:#727171} .qiehuantab1{width:258px; position:relative; } .qiehuantab1 li{ list-style:none;} .qiehuanmenu{ padding:2px;position:absolute; right:0; bottom:0; padding-bottom:10px;} .qiehuanmenu li{float:left;width:20px;text-align:center;line-height:16px;height:16px;cursor:pointer;color:#000;font-size:12px;overflow:hidden; font-family:"微软雅黑",Verdana; margin:2px;} .qiehuanmenudiv{height:423px;border-top:0;} .qiehuanmenudiv img{ width:258px; height:423px; border:none;} .qiehuanmenu .off{background:#4d9d79;color:#fff;font-weight:bold; width:26px; border:none;}