| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 4474 人关注过本帖
标题:手机打开网站,右边少了一块,求助解决。
只看楼主 加入收藏
psh910204
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2016-7-18
收藏
 问题点数:0 回复次数:1 
手机打开网站,右边少了一块,求助解决。
手机打开网页右边大概8%不显示了,好像切割一块没了,我压根不懂代码,用建站软件做的网站,我把模板代码发出来,能指导在哪修改吗,真心求助。

@import url(comm.css);
@import url(diy.css);
@import url(/e/css/focus.css);

/*网站基础样式*/
body,div,ul,li,dl,dd,table,p,h1,form,legend,fieldset,input button,select,textarea,button{margin:0px;padding:0px;font-family:inherit;font-size:inherit;}
ul,li{list-style:none;}
a{color:#606060;text-decoration:none;outline:none;blr:expression(this.onFocus=this.blur());}
a:hover{color:#606060;text-decoration:underline;}

body{word-wrap:break-word;text-align:center;font:12px/1.6em "微软雅黑",Verdana,Helvetica,Arial,sans-serif;color:#606060;background:url(images/top.png) repeat-x 0 0 #F3F3F3;}
.page_style{width:100%;margin:0px auto 0px auto;text-align:center;overflow:hidden;}
.left{float:left}
.right{float:right}
.clear{display:block;clear:both;font-size:0px;height:0px;line-height:0px;width:0px;margin:0px;padding:0px;overflow:hidden}
img{border:none;}
/*顶部及主菜单样式*/

.top_box{clear:both;height:152px;width:1050px;margin:0 auto;margin-bottom:10px;}
.top_box .logo{float:left;text-align:left;margin-top:0px;height:111px;}
.top_box .topcontent{float:right;text-align:right;padding:20px 10px 5px 0;color:#7B7B89}
.top_box .topcontent a{color:#7B7B89;}

.menu_box{height:45px;text-align:left;font-size:13px;font-weight:bold;padding:0 0 0 0px;line-height:45px;margin-bottom:40px;}

.menu_style_homepage{float:left;text-align:center;width:112px;}
.menu_style{float:left;text-align:center;width:112px;}

a.menu{display:block;width:112px;height:41px;color:#606060;font-size:13px;padding-top:0px;line-height:41px;}
a.menu:hover{font-weight:bold;color:#ffffff;text-decoration:none;font-size:13px;background:url(images/index.jpg) no-repeat 0 1px;}

.menu_current a.menu{font-weight:bold;color:#ffffff;font-weight:bold;background:url(images/index.jpg) no-repeat 0 0;}

/*banner样式*/

.banner{clear:both;padding:0px 0 8px 0;text-align:left;}
.smallbanner{clear:both;padding:0 0 0 0;padding:0 0 5px 0;text-align:left;}

/*网站主体框架样式*/

.main_box_style{margin:3px 0 10px 0;height:100%;width:1050px;margin:0 auto;}
.main_box_style .main_box_inner{clear:both;overflow:hidden}

.main_box_style1{margin:3px 0 0 0;height:100%;overflow:hidden;width:1050px;margin:0 auto;padding-top:10px;}
.main_box_style1 .main_box_inner{clear:both;overflow:hidden}
.main_box_style1 .main_box_inner_left{float:left;width:218px;margin:0 10px 0 0;overflow:hidden;text-align:left;}
.main_box_style1 .main_box_inner_right{float:right;width:812px;margin:0 0 0 0;overflow:hidden;text-align:left;margin-bottom:20px;}

.main_box_style2{margin:3px 0 0 0;overflow:hidden;height:100%;overflow:hidden;}
.main_box_style2 .main_box_inner{clear:both;overflow:hidden}
.main_box_style2 .main_box_inner_left{float:left;width:750px;margin:0 10px 0 0;overflow:hidden;text-align:left;}
.main_box_style2 .main_box_inner_right{float:right;width:220px;margin:0 0 0 0;padding:0 0 0 0;overflow:hidden;text-align:left;}

.main_box_style3{margin:3px 0 10px 0;height:100%;overflow:hidden;}
.main_box_style3 .main_box_inner{clear:both;overflow:hidden}
.main_box_style3 .main_box_inner_left{float:left;width:220px;margin:0 10px 0 0;overflow:hidden;text-align:left;}
.main_box_style3 .main_box_inner_middle{float:left;width:520px;margin:0 0 0 0;overflow:hidden;text-align:left;}
.main_box_style3 .main_box_inner_right{float:right;width:220px;margin:0 0 0 10px;overflow:hidden;text-align:left;}

/*导航样式*/

.nav_box{clear:both;width:100%;margin:0 0 10px 0;overflow:hidden;}

.nav_title{height:35px;text-align:center;overflow:hidden;background:url(images/daohang.png) no-repeat 0 12px;line-height:35px;border-bottom:3px solid #B30A2C}
.nav_sign{float:left;text-align:left;width:100%;padding:0px 0 0 20px;color:#6D6D80;font-size:16px;overflow:hidden;}
.nav_more{float:right;padding:8px 10px 0 10px;margin:0 0 0 0;}
.nav_more a{font-size:10px;line-height:15px}

.nav_content{padding:5px 5px 10px 5px;text-align:left;border:1px solid #EDEDED;border-width:0 1px 1px 1px;background:#E8E8E8}

.nav_menu{padding:2px 0px 10px 0px;text-align:left;border:1px solid #EDEDED;border-width:0 1px 1px 1px;background:#E8E8E8}

.nav_menu li{clear:both;text-align:left;padding:0px 0px 0 0px;}
.nav_menu li a{display:block;line-height:40px;height:40px;background:#E8E8E8;padding-left:20px;border:0px solid #fff;border-width:0 0 1px 0;text-decoration:none;font-size:15px;}
.nav_menu li a.current{color:#fff;background:#8A7E7A;}
.nav_menu li a:hover{color:#fff;background:#8A7E7A;}
.nav_menu li ul li{text-align:left;background-image:none;padding:0 0 0 0px;text-align:left;width:100%;height:25px;line-height:25px;}
.nav_menu li ul li a{display:block;line-height:25px;background:url(images/daohangej.png) no-repeat 20px center;padding-left:30px;border-width:0px;width:100%;height:25px;}
.nav_menu li ul li a:hover{background-image:none;}
.nav_menu li ul li a.current{color:#fff;background-image:none}

.nav_menu ul li ul li ul{padding:0 0 0 0px;}
.nav_menu ul li ul li span.node{float:left;height:22px;width:15px;background:url(images/node_open.gif) no-repeat 0 0;cursor:pointer;}
.nav_menu ul li ul li span.node_close{float:left;height:22px;width:15px;background:url(images/node_close.gif) no-repeat 0 0;cursor:pointer;}
.nav_menu ul li ul li span{float:left;height:30px;width:15px;display:none;}

/*模块样式*/
.module_box{clear:both;margin:0 0 10px 0;border:0 solid #cccccc;overflow:hidden;}                 /*模块整行布局样式*/
.module_box_layout_left{float:left;margin:0 0 10px 0;border:0 solid #cccccc;overflow:hidden;}  /*模块左布局样式*/
.module_box_layout_right{float:right;margin:0 0 10px 0;border:0 solid #cccccc;overflow:hidden;}   /*模块右布局样式*/

.module_box_inner{clear:both;overflow:hidden;height:100%;}/*整行内层样式*/
.module_box_layout_left .module_box_inner{clear:both;margin:0 10px 0 0;} /*左内层样式*/

.module_title{clear:both;height:35px;text-align:left;padding-left:20px;border:0px solid #E3E3E3;border-width:0 1px;border-top:3px solid #717171;background:#F1F1F1;border-bottom:1px solid #FFF;}
.module_sign{float:left;width:80px;height:35px;padding:6px 0 0 0px;text-align:center;color:#6D6D6D;overflow:hidden;font-size:16px;;ine-height:35px;}
.module_more{float:right;font-weight:normal;height:21px;padding:8px 10px 0 10px;}
.module_more a{font-size:12px;line-height:15px;color:#6D6D6D;}
.module_more a:hover{text-decoration:none;color:#9a0000}
.module_more a.more{display:block;background:url(images/more.gif);height:11px;width:36px;}

.module_content{margin:0 0 0 0;padding:5px 10px 5px 10px;text-align:left;border:1px #E3E3E3 solid;border-width:0 1px 1px 1px;background:#F1F1F1}

.module_footer{clear:both;height:1px;overflow:hidden;background-color:#cccccc;display:none}
.module_footer .l{float:left;}
.module_footer .r{float:right}

/*子栏目样式*/
.lanmupage .current_location{margin-bottom:0px;height:30px;padding:0 0 0 25px;border-width:0px;}
.current_location{clear:both;text-align:left;height:26px;padding:9px 10px 0 5px;background:url(images/zlm.jpg) repeat-x 0 0;border:0px solid #cccccc;border-width:1px 1px 0 1px;}
.current_location_1{float:right;background:url(images/home.gif) no-repeat 0 center;padding-left:20px;}
.current_location_2{float:left;padding:0px 0 0 20px;font-size:16px;color:#6D6D6D;}

.sublanmu_box{text-align:left;padding-bottom:10px;min-height:300px;border:0px solid #cccccc;border-width:0px 1px 1px 1px;background:#FFF;}
.sublanmu_content{padding:18px 10px 10px 10px;text-align:left;}
.sublanmu_content_introduct{line-height:2.0;font-size:1.1em}
.sublanmu_content_introduct p{margin-bottom:10px;min-height:10px}

.sublanmu_page{clear:both;text-align:center;margin:15px 0 10px 0;font-size:12px;font-family:宋体;}
.sublanmu_page a{vertical-align:middle;zoom:1;height:15px;line-height:15px;padding:2px 8px 3px 8px;border:1px solid #cccccc;}
.sublanmu_page span{vertical-align:middle;zoom:1;height:15px;line-height:15px;padding:2px 8px 3px 8px;border:1px solid #cccccc;}
.sublanmu_page span.c{padding:2px 2px 3px 2px;font-weight:bold;border:0px solid #cccccc;}

/*评论*/
.comments_box{text-align:left;border:1px solid #cccccc;margin:10px 0 10px 0;}
.comments_box .title{padding:2px 0 0 10px;height:20px;font-weight:bold;background-color:#ececec}
.comments_box ul li{padding:5px 0 5px 25px;}
.comments_box .textarea{width:520px;height:100px;border:1px solid #cccccc;border-color:#000000 #cccccc #cccccc #000000;}

.comments_list{padding:5px 0 0 0;border:0px solid #cccccc;overflow:hidden}
.comments_list .title{display:block;padding:2px 0 3px 5px;height:18px;width:100%;font-weight:bold;}
.comments_list .item{clear:both;margin:0 0 10px 0;overflow:hidden}
.comments_list .header{padding:3px 0 0 10px;height:22px;background-color:#eeeeee}
.comments_list .header .floornum{font-size:12px;font-style:Italic;font-weight:bold}
.comments_list .header .left{float:left}
.comments_list .header .right{float:right;padding-right:10px}
.comments_list .quote{display:block;color:#999999;padding:5px 5px 5px 10px;border:1px solid #ececec}
.comments_list .content{padding:5px 5px 5px 15px}
.comments_list .reply{background:url(public/reply.gif) no-repeat 5px 5px;border:1px dashed #cccccc;padding:2px 5px 2px 25px;margin:2px 0 5px 0;color:#D33506}

.comments_page{clear:both;vertical-align:middle;text-align:right;background-color:#ffffff;margin:10px 0 10px 0;font-family:宋体;}
.comments_page a{height:15px;line-height:15px;vertical-align:middle;zoom:1;padding:2px 8px 2px 8px;border:1px solid #cccccc;font-size:12px}
.comments_page span{height:15px;line-height:15px;vertical-align:middle;zoom:1;padding:2px 5px 2px 5px;font-size:12px}
.comments_page span.c{vertical-align:middle;padding:2px 3px 2px 3px;font-weight:bold;font-size:12px;}

/*bottom样式*/
.bottom_box{clear:both;text-align:center;padding:0 0 0 0;background:#A60F2E;height:100px;border:1px red solid}
.bottom_box .bar{padding:12px 0 0 0;line-height:20px;color:#333;}
.bottom_box .bar a{color:#333}


/*登陆界面*/
.loginbox_item{height:20px;padding:0 0 0 0;padding:3px 5px 4px 20px;text-align:left;font-size:9pt;}
.loginbox_textbox{width:120px;height:15px;border:1px solid #BCD9F5;}
.loginbox_textbox_yzm{width:50px;height:15px;border:1px solid #BCD9F5;}
.loginbox_submit{width:53px;height:22px;padding:3px 0 0 0;margin:0 0 0 10px;border:0 solid #333333;cursor:pointer;background:url(images/log_brn.gif) no-repeat 0 0;color:#fff;}
a.logined_href:link{font-size:9pt;color:#666666;text-decoration:underline}
a.logined_href:visited{font-size:9pt;color:#666666;text-decoration:underline}
a.logined_href:hover{font-size:9pt;color:#FF0000;text-decoration:underline}

/*问卷调查*/
.vote{width:95%;text-align:center;margin:0px auto 0px auto;}
.votetitle{height:25px;padding:5px 0px 0px 0;font-weight:bold;font-size:14px;border:1px dotted #cccccc;border-width:0 0 1px 0;}
.voteinfo{padding:2px 0 2px 0}
.vote .description{text-align:left;padding:10px 0 10x 0}
.vote .quesion{text-align:left;font-weight:bold;font-size:12px;padding:5px 0 0 0}
.vote .choice{text-align:left;padding:5px 0 0 5px}

/*其他样式*/
.textarea{border:1px solid #cccccc;border-color:#000000 #cccccc #cccccc #000000;}
.button{width:55px;font-size:9pt;height:19px;cursor:pointer;background-image:url(public/button.gif);background-position: center center;border-top: 0px outset #eeeeee;border-right: 0px outset #888888;border-bottom: 0px outset #888888;border-left: 0px outset #eeeeee;padding-top: 2px;background-repeat: repeat-x;}
.tb{border:1px solid #cccccc;border-color:#000000 #cccccc #cccccc #000000;}
.bt{height:22px;width:70px;font-size:9pt;background-image:url(public/bt.gif);padding-top:2px;cursor:pointer;border-width:0px;margin-left:120px;}
搜索更多相关主题的帖子: expression outline legend button import 
2016-07-18 13:26
lb676114734
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2013-10-15
收藏
得分:0 
兄弟 你这样问永远问不出来东西的 给你几点建议哈
1.预期效果(最好为图片)
2.实际效果(图片)
3.最好把你的站点发出来,实在不行把html文件发出来呀
你这样神仙也帮不了你
2016-08-17 17:27
快速回复:手机打开网站,右边少了一块,求助解决。
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020191 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved