说明:为了仿多玩的效果。
开启了边栏,给隐藏了,用了页尾广告制作边角效果,宽度自适应。
BUG总结阶段,
-------------------------------------------------------------编辑一下--
如果只想要最后一幅图的效果,请使用下列代码,放置在其他头部信息,代码中涉及到图片,找个人发他QQ,聊天记录里可以直接点击链接下载,最好保存到自己论坛
- <style>#forumheader form,.authorinfo a img,.authorinfo a font{display:none;}.ad_textlink2{background:none !important;padding:0 !important;}
- .profile_side li {display:none;}
- .shadowline {BORDER-TOP: #111 1px solid!important; BORDER-BOTTOM: #3a3a3a 1px solid!important}
- .side .shadowline {MARGIN: 0px}
- #f_post TD {PADDING-TOP: 0px!important}
- #f_post TD.postcontent {PADDING-RIGHT: 0px! important; PADDING-LEFT: 20px! important; BACKGROUND: url(http://www.torfor.com/no5/replybk.jpg) no-repeat right top!important; PADDING-BOTTOM: 10px! important; PADDING-TOP: 15px! important}
- #f_post .editor_tb {BORDER-TOP-STYLE: none! important; BORDER-RIGHT-STYLE: none! important; BORDER-LEFT-STYLE: none! important; BORDER-BOTTOM-STYLE: none! important}
- #f_post .txtarea {BACKGROUND: url(http://www.torfor.com/no5/txtarea_bg.gif) 0px 0px!important; BORDER-TOP-STYLE: none; LINE-HEIGHT: 21px!important; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none}
- .mainbox {padding-left:6px!important; padding-right:6px!important;}
- #index .mainbox {padding-left:0px!important; padding-right:0px!important}
- .mainbox TD.postauthor {BACKGROUND: #2f2f2f!important; COLOR: #e0e0e0!important}
- .modaction {BACKGROUND:none!important;}
- .postinfo a,.postinfo a:hover {border:none!important;}
- .postcontent,.defaultpost {padding-left:10px!important;}
- .popuserinfo { color:#09c;}
- .signatures { padding-left:10px!important;}
- #threadtitle,.postactions{border:none!important; margin:none!important;}
- .viewthread TD.postcontent {PADDING-RIGHT: 0px! important; PADDING-LEFT: 0px! important; PADDING-BOTTOM: 0px! important; PADDING-TOP: 0px! important}
- .posterinfo {padding-left:10px!important; BACKGROUND:url(http://www.torfor.com/no5/post_corner_tl.gif) #f0f0f0 no-repeat!important; width: 91%!important;}
- .postinfo {BACKGROUND:url(http://www.torfor.com/no5/postcontent_bg.gif) #2f2f2f no-repeat 100% 0px!important; PADDING-TOP: 5px!important; BORDER-BOTTOM: #ccc 0px dotted!important;}
- .postauthor .avatar {PADDING-RIGHT: 0px!important; PADDING-LEFT: 0px; BACKGROUND: url(http://www.torfor.com/no5/avatar_bg.gif) no-repeat 0px 0px!important; PADDING-BOTTOM: 0px!important; MARGIN: 0px auto!important; PADDING-TOP: 21px!important; HEIGHT: 158px!important; TEXT-ALIGN: center!important;}
- .popavatar .avatar { background:none!important;}
- .adcontent {BACKGROUND: url(http://www.torfor.com/no5/post_divide.gif) #2f2f2f repeat-x 100% 100%!important;}
- .postact {BACKGROUND: url(http://www.torfor.com/no5/post_corner_bl.gif) no-repeat 0px 100%!important; padding-left:10px!important;}
- .threadad TD.postauthor {BACKGROUND: url(http://www.torfor.com/no5/postauthor_bg.gif) #2f2f2f no-repeat 0px -7px!important; HEIGHT: 6px!important;}
- #f_post .postauthor {BACKGROUND: url(http://www.torfor.com/no5/postauthor_bg.gif) #2f2f2f no-repeat left bottom!important;}
- .threadlist .colplural TR {BACKGROUND: url(http://www.torfor.com/no5/colplural.gif) repeat-x 0px 0px!important;}
- .viewthread TD.postcontent {BACKGROUND: url(http://www.torfor.com/no5/post_l.gif) #f0f0f0 repeat-y 100% 0px!important;}
- .list TH.new {BACKGROUND-IMAGE: url(http://www.torfor.com/no5/forum_new.gif) no-repeat!important;}</style>
复制代码
简单说明:
为了实现某些效果开启边栏后隐藏.只需要开启首页边栏即可,不需要设置边栏方案里的任何调用,当然如果你现在已经隐藏了边栏的话。那先去掉隐藏代码。再使用下面的代码。防止冲突。
代码一:放置在其他头部信息
- <div id="apDiv"></div><div id="apDiv1"></div><style type="text/css">
- .showmessage {background:none!important;}
- #logging .content {margin:0px!important;}
- .main{width:100% !important;margin-left:-0px !important;}
- #sidebar,#sidebar_img{display:none !important;}
- .ad_text table {border-collapse:none!important;}
- .special .main{float:left!important;}
- .side {display:none!important;}
- .yqbody h3 a {width:auto!important; float:none!important;}
- #wowoindex .main{min-height:480px;}
- #wowoindex .content {min-height:80px!important;}
- #my .content,#faq .content,#pm .nodata{min-height:450px; margin:0 auto!important;}
- .special .side,#wowoindex .side,#memcp .side,#my .side,#faq .side ,#pm .side{display:block!important;}
- #profile .main,#wowoindex .main,#my .main,#memcp .main,#pm .main,#faq .main{width:80%!important;}
- .avatar img {padding:2px;border:1px #c4c4c4 solid!important;}
- .postmessage {padding-right:15px!impotant;}
- #f_post {padding-bottom:6px!important;}
- #viewthread #apDiv {visibility: inherit!important;}
- #apDiv {visibility: hidden; position:absolute;width:25px;height:35px;z-index:1;left: 0px;top: 160px; }
- #index #apDiv1 {visibility: inherit!important;}
- #apDiv1 {visibility: hidden; position:absolute;width:25px;height:300px;z-index:1;left: 0px;top: 160px; }
- #fastpostreturn {display:none!important;}
- #viewthread .forumcontrol {width:95%!important; padding-left:25px;}
- #viewthread .mainbox {padding-left:25px!important;padding-right:25px!important;}
- .ad_text,.special,#viewthread #wrap,#logging .main,#memcp #wrap{background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/1002061306502822826271b95d.jpg) repeat-y right!important;}
- #threadlist {padding-left:10px; padding-right:10px;}
- #modarea .headactions{display:none;}
- .searchform {margin:0 0 0 0!important; border-top:none!important; min-height:400px;}
- .searchform ,#post .main {background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/1002061306502822826271b95d.jpg) repeat-y right!important;}
- #post .content {margin:0px!importan;}
- #umenu {color:#ffffff!important; padding-top:4px!important;}
- #umenu a {color:#ffffff!important;}
- #header h2 img {top:0px!important; left:0px!important;position:absolute;}
- .list th,.list td {border-top:dotted!important;}
- #index .list h3 {color:#ffffff!important;}
- .list {border-top:none!important;}
- #forumlinks {height:100%!important;}
- #index .list h3 { line-height:27px!important;}
- .headactions img {float:right;}
- #index .headactions {background:url(http://bbs.duowan.com/images/duowanV2/bg_h_r.jpg) #353535 right no-repeat!importent; width:20%!important; height:15px;}
- #index .content .list h3 {float:left!important;width:80%!important; background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/10020615176b4625eaa56bafc9.jpg) #353535 no-repeat 0 0!important;}
- .content h3 a {padding-left:0px; line-height:27px;*line-height:22px;_line-height:27px;height:24px;overflow:hidden; color:#FFF; width:100px; float:left;padding-top:3px;}
- #footer {background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/100206135562be283c58e20435.jpg) 0px -3px repeat-x;}
- #wrap {padding-bottom:0px!important;}
- .f-l{width:25px; height:39px;background:url(http://bbs.duowan.com/images/duowanV2/bannerlogo/bm01_z.jpg) no-repeat 0 100%; overflow:hidden;}
- .f-m {height:39px; background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/10020613513e94f5cc779605db.jpg) repeat-x;}
- .f-r {width:25px; height:39px; background:url(http://bbs.duowan.com/images/duowanV2/bannerlogo/bm01_z.jpg) no-repeat 100% 100%; overflow:hidden;}
- .ad_footerbanner {margin:0px!important;width:100%!important;}
- h3 .requesttabs {padding-left:0px!important;padding-right:0px!important;}
- #sidebar {padding-right:16px; width:160px!important;}
- .shadowline {display:none;}
- .wrap {width:100%!important;}
- #menu {top:128px;right:10px!important;}
- #menu a {color:#ffffff!important; }
- #menu a:hover{text-decoration: underline!important;}
- .with_side .content {background:#ffffff;}
- #wowoindex .main,#search #wrap,#apDiv,#apDiv1,#postlistreply,#viewthread .forumcontrol,#f_post,#postlist{background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/1002061306c300e66bd5da0a6a.jpg) repeat-y 0px 0px!important;}
- .msgfix {background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/1002061306c300e66bd5da0a6a.jpg) repeat-y 0px 0px!important;}
- .content {margin-left:0px !important; padding-left:25px!important;padding-right:25px!important; background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/1002061306c300e66bd5da0a6a.jpg) repeat-y 0px 0px!important; min-height:450px!important;}
- #header .wrap { height:120px!important;width:100%!important;background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/1002061734e0515ee66961aea5.jpg) no-repeat 0px 0px!important; position:static!important;}
- #nav {padding-top:8px!important; margin-top:-58px!important; width:100%!important; height:36px!important;background:url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/1002061235ebb4d21328e143e2.jpg) no-repeat 100% 0px!important;}
- #forumheader form,.authorinfo a img,.authorinfo a font{display:none;}.ad_textlink2{background:none !important;padding:0 !important;}
- .profile_side li {display:none;}
- #f_post TD {PADDING-TOP: 0px!important}
- #f_post TD.postcontent {PADDING-RIGHT: 0px! important; PADDING-LEFT: 20px! important; BACKGROUND: url(http://rr.a.5d6d.com/userdirs/c/3/wangluotuishou/attachments/month_1002/100206163988b1da283bba3942.jpg) no-repeat right top!important; PADDING-BOTTOM: 10px! important; PADDING-TOP: 15px! important}
- #f_post .editor_tb {BORDER-TOP-STYLE: none! important; BORDER-RIGHT-STYLE: none! important; BORDER-LEFT-STYLE: none! important; BORDER-BOTTOM-STYLE: none! important}
- #f_post .txtarea {BACKGROUND: url(http://www.torfor.com/no5/txtarea_bg.gif) 0px 0px!important; BORDER-TOP-STYLE: none; LINE-HEIGHT: 21px!important; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none}
- .mainbox {padding-left:6px!important; padding-right:6px!important;}
- #index .mainbox {padding-left:0px!important; padding-right:0px!important}
- .mainbox TD.postauthor {BACKGROUND: #2f2f2f!important; COLOR: #e0e0e0!important}
- .modaction {BACKGROUND:none!important;}
- .postinfo a,.postinfo a:hover {border:none!important;}
- .postcontent,.defaultpost {padding-left:10px!important;}
- .popuserinfo { color:#09c;}
- .signatures { padding-left:10px!important;}
- #threadtitle,.postactions{border:none!important; margin:none!important;}
- .viewthread TD.postcontent {PADDING-RIGHT: 0px! important; PADDING-LEFT: 0px! important; PADDING-BOTTOM: 0px! important; PADDING-TOP: 0px! important}
- .posterinfo {padding-left:10px!important; BACKGROUND:url(http://www.torfor.com/no5/post_corner_tl.gif) #f0f0f0 no-repeat!important; width: 91%!important;}
- .postinfo {BACKGROUND:url(http://www.torfor.com/no5/postcontent_bg.gif) #2f2f2f no-repeat 100% 0px!important; PADDING-TOP: 5px!important; BORDER-BOTTOM: #ccc 0px dotted!important;}
- .postauthor .avatar {PADDING-RIGHT: 0px!important; PADDING-LEFT: 0px; BACKGROUND: url(http://www.torfor.com/no5/avatar_bg.gif) no-repeat 0px 0px!important; PADDING-BOTTOM: 0px!important; MARGIN: 0px auto!important; PADDING-TOP: 21px!important; HEIGHT: 158px!important; TEXT-ALIGN: center!important;}
- .popavatar .avatar { background:none!important;}
- .adcontent {BACKGROUND: url(http://www.torfor.com/no5/post_divide.gif) #2f2f2f repeat-x 100% 100%!important;}
- .postact {BACKGROUND: url(http://www.torfor.com/no5/post_corner_bl.gif) no-repeat 0px 100%!important; padding-left:10px!important;}
- .threadad TD.postauthor {BACKGROUND: url(http://www.torfor.com/no5/postauthor_bg.gif) #2f2f2f no-repeat 0px -7px!important; HEIGHT: 6px!important;}
- #f_post .postauthor {BACKGROUND: url(http://www.torfor.com/no5/postauthor_bg.gif) #2f2f2f no-repeat left bottom!important;}
- .threadlist .colplural TR {BACKGROUND: url(http://www.torfor.com/no5/colplural.gif) repeat-x 0px 0px!important;}
- .viewthread TD.postcontent {BACKGROUND: url(http://www.torfor.com/no5/post_l.gif) #f0f0f0 repeat-y 100% 0px!important;}
- </style>
复制代码 代码二: 新建页头通栏广告-默认选项-添加下面的代码:
- <div style="height:63px;"></div>
复制代码 代码三:新建页尾通栏广告-默认选项-添加下面的代码:
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="25" class="f-l"> </td>
- <td class="f-m"> </td>
- <td class="f-r" width="25"> </td>
- </tr>
- </table>
复制代码 配色包:
------------------------------------
都是css代码。不会影响收录,放心使用。
如果嫌头部的太多,那就用外部css文件调用,前提你要有空间。
调用需要将下面的代码放到其他头部信息以替换上面那一大段。
- <div id="apDiv"></div><div id="apDiv1"></div><link rel="stylesheet" type="text/css" href="http://www.torfor.com/no5/no5-duowan.css" />
复制代码
CSS文件包下载:
喜欢的顶一下啊{:soso__7585214961191668284_3:}
------------------------
刚修正了登陆页面和退出页面效果.
|