校内网-优酷校内网代码站!

校内网CSS代码-背景白块解决方法


#spacePage #content{background:transparent url(http://5q.com/hhj530);border:0pt;}

背景有白块的话只要设个版块背景透明就行了吧,可以自己量身做一段透明代码:


#header,
#navigation,.box h3{background:transparent;}
类似这样子的,希望哪里透明就把版块标签添加到前面去便OK.

此外还有旁边的广告,想要隐藏的话只要用段类似的代码:

#annouce,#logo,.block,.linkblock {display:none;}

 

这个透明/隐藏代码适用于任何想要透明/隐藏的版块,只要对应的名称添加正确即可.

不清楚名称的话可以在自己页面上右击选"查看源文件"找到相应版块前的标签.

比如,相册对应的标签名称为#userAlbum,留言板对应的为#userTalk.

而相册啦日志啦加入的群啦班级啦留言板啦这些版块都属于h3类型.

想要统一处理的话可以用.box h3作为开头.

它们各自下属还有很多级分支,只要研究对名称就可以任意处置.

 

其实研究代码真的是一种乐趣啊~~DIY大好~~~

每调试正确一行后的喜悦心情只有尝试过的人才能体会到~

做出和别人完全不同风格的页面效果~心情不是一般的happy~~

 

不过估计很多人还是懒得折腾这些吧~

奉献出一段页面去广告去白块全透明的代码.

适用于只添加一个背景图案而未使用布局重排模版的页面.

一般人我不告诉~嘿嘿~~ :D

 


.box h3 {background:transparent;}
#userpage,
#content,.box h3,.stat {background:transparent;}

.block {display:none;}
.linkblock {display:none;}
#annouce {display:none;}

#header,#logo {display:none;}

#header h1 {display:none;}

#header h2 {display:none;}

#header,#universityName {display:none;}

#navigation {background:transparent;]


#header {background:transparent;}

#header h2 {background:transparent;}

#userRelations .personIcon {background:transparent;}

#userRelations .personIcon td {background:transparent;}
#userVisitor {background:transparent;}
#userFriend {background:transparent;}
#userFriendUniv {background:transparent;}
.attention {background:transparent;}
#sidebar,#menu {background:transparent;}
#userProfile {background:transparent;}
#userBlog {background:transparent;}
#userBlog .info {background:transparent;}
#userPandora {background:transparent;}
#userGroup {background:transparent;}
#userTalk {background:transparent;}
#talk li {background:transparent;}
#userTalk .info {background:transparent;}
#permalink {background:transparent;}

 

如果还打算同时套用别的模版的话,上面的代码就不要用了,会冲突的.

换成使用这段:

 


#widebar,#container,
#content,#userStatus{border-top: 0px solid #000000; border-bottom-style: solid; border-bottom-width: 0px ;float:;border: 0px dashed #00ff;background: transparent; border-left-width: 0px; border-right-width: 0px;}

 

#cmtbody { background-image: url('http://fm231.img.xiaonei.com/tribe/20071027/19/12/A355544723143EWE.gif'); } #giftBox h3,#giftBox .sub-h3{background-color: transparent; border: 0 solid #FFFFFF; }   

校内网小提示

最新代码

本站公告

校内网xiaonei.com是面向在校大学生及白领的互动空间。所谓校内,顾名思义,就是一个针对在校大学生做的网络空间。大家可以在这里完美的展示自己。 校内网-优酷校内网代码站www.xnw.ac.cn则是精心为你收集最优最酷的校内网代码校内网涂鸦板代码和校内网css代码,背景代码等代码的专业网站。

热门代码



关于我们 | 免责声明 | 联系我们 | 我要投稿 | 访客留言 | 网站地图 | 湘ICP备07501337号 | 版权所有  

CopyRight 2008 Www.Xncss.Org.Cn 优酷校内网代码站 All Rights Reserved↑返回顶部

优酷校内网-全亚洲最优秀的校内网涂鸦板代码站!