校内网代码之很温馨的黑色页面风格|5q校内网成品代码|校内网背景代码<STYLE type=text/css> <!-- /* 隐藏大学生互动空间/你好/LOGO/导航栏/广告布告推荐/底部链接/底部导航/侧边拦 */ #tagline, #utility, #logo, #navigation, .block, #permalink, #footer, #sidebar { display: none; } /* 定义背景颜色/鼠标 */ body { background-color: black; background-image: url(/Article/UploadFiles/200710/20071021225355766.jpg); background-repeat: repeat-y; background-position: center top; background-attachment: fixed; CURSOR: url('http://www.xvlink.com/images/mouse/ani/mouse037.ani'); } /* 使页面居中,加宽 */ #container { width: 780px; margin: 0 auto; background-color: black; filter: alpha(opacity=50); } #content { MARGIN-RIGHT: auto; MARGIN-LEFT: auto; width: 758px; } /* content border属性修改 */ #content { border: solid; border: 1px; border-color: #999999; } /* 加宽用户更新部分 */ #userUpdates { width: 550px; } /* 定义Banner */ #header { position: relative; width: 780px; height: 37px; left: 0px; } /* 所有H3标题背景 */ .box h3, #userProfile h3 { height: 27px; background: url(/Article/UploadFiles/200710/20071021225356245.jpg); } #userProfile h3 { border-bottom: 0px; } /* H4标题背景透明 */ #userBlog .info, #userTalk .info { background: transparent; } /* 定义字体颜色 */ .box h3 { color: white; } .boxcont { color: #999999; } #userProfile .stat, #userAlbum .stat, .box span { color: #CCCCCC; } /* 用户信息长度限制 */ #userProfile { height: 670px; } /* 基本信息宽度 */ #BasicInfo { width: 250px; } /* 账号信息宽度 */ #AccountInfo { width: 250px; } /* 联系方式宽度 */ #ContactInfo { width: 250px; } /* 个人信息位置 */ #PersonalInfo { clear: both; } /* 相册长度限制 */ #userAlbum { height: 136px; } /* 日志长度限制 */ #userBlog .text { height: 500px; overflow: auto; } #userBlog .info, #userBlog h4 { height: 30px; } /* 所有滚动条样式 */ * { SCROLLBAR-ARROW-COLOR: #CCCCCC; SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-DARKSHADOW-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #999999; SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #999999; } /* 按钮样式 */ .subbutton, .canbutton, HTML .inputbutton, #starttalkBtn, #editorFormBtn { border: 1px solid #999999; background: black; } .act_share A.share { TEXT-INDENT: 1.5em; LINE-HEIGHT: 12px; padding-top: 5px; HEIGHT: 14px; border: 0px solid #999999; background: transparent; color: #cccccc; } /* 好友列表长度限制 */ #userFriendUniv .boxcont { height: 1100px; overflow-y: auto; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-DARKSHADOW-COLOR: #999999; SCROLLBAR-HIGHLIGHT-COLOR: #999999; SCROLLBAR-3DLIGHT-COLOR: #999999; SCROLLBAR-SHADOW-COLOR: #999999; SCROLLBAR-TRACK-COLOR: #000000; BORDER-RIGHT: #999999 0px dotted; } /* 留言板长度限制 */ #talk { max-height: 600px; overflow: auto; } /* 涂鸦板长度限制 */ #userPandora { height: 600px; overflow: hide; } /* 名字长度限制,防止有人取过长名字打乱好友列表布局 */ .personName { width: 55px; } /* 用户等级(星星加9颗) */ #userProfile .stat { BACKGROUND: url(/Article/UploadFiles/200710/20071021225356159.gif) no-repeat left top; padding-left: 110px; } #star1, #userProfile .rank { float: right; display: none; } --> </STYLE> <!--定义导航条--> <STYLE type=text/css> <!-- #tab { float: left; clear: both; BACKGROUND: url(/Article/UploadFiles/200710/20071021225356149.jpg) no-repeat right top; padding: 3px; position: relative; Top: -1673px; left: -224px; width: 775px; height: 37px; } #tab span { display: none; } #tab A, #tab A:link, #tab A:visited { float: left; FONT-SIZE: 15px; COLOR: white; BACKGROUND: url(/Article/UploadFiles/200710/20071021225356994.jpg) no-repeat center; WIDTH: 80px; padding: 4px 5px 4px 5px; TEXT-ALIGN: center; TEXT-DECORATION: none; } #tab A:hover, #tab A.on:hover { BACKGROUND: url(/Article/UploadFiles/200710/20071021225356469.jpg) no-repeat center; LEFT: 1px; POSITION: relative; TOP: 1px; } --> </STYLE> <DIV id=tab><A href="http://home.xiaonei.com/Home.do" target=_blank>首页</A><SPAN>|</SPAN><A href="http://blog.xiaonei.com/GetBlog.do?id=224303735" target=_blank>日志</A><SPAN>|</SPAN><A href="http://photo.xiaonei.com/getalbumlist.do?id=224303735" target=_blank>相册</A><SPAN>|</SPAN><A href="http://xiaonei.com/getgossiplist.do?id=224303735" target=_blank>留言</A><SPAN>|</SPAN><A href="http://xiaonei.com/GetFriendList.do?id=224303735" target=_blank>好友</A><SPAN>|</SPAN><A href="http://browse.xiaonei.com/SocialNet.do" target=_blank>随便看看</A><SPAN>|</SPAN><A href="http://xiaonei.com/Search.do" target=_blank>搜索</A><SPAN>|</SPAN><A href="http://club.xiaonei.com/external_rk.php" target=_blank>校内广场</A></DIV><!--定义公告栏--><!--定义公告栏位置、样式--> <STYLE type=text/css> <!-- #Bugao { float: left; clear: both; padding: 35px; position: relative; Top: -1580px; left: 248px; width: 230px; height: 230px; BACKGROUND: url(/Article/UploadFiles/200710/20071021225356514.gif) repeat left top; } #Bugao #title { border-bottom: 1px dashed white; text-align : center; width: 230px; color: white; font: bold 14px; } --> </STYLE> <DIV class=box id=Bugao> <DIV class=boxcont> <P id=title>布 告 栏 </P> <TABLE> <TBODY> <TR> <TD> <MARQUEE id=ca scrollAmount=2 direction=up><!--滚动字幕开始--> <P>看完我的页面请留言</P> <P>看完我的帖子也要留言</P> <P>好友太多暂不轻意加好友<IMG alt=不 src="/Article/UploadFiles/200710/20071021225356327.jpg"></P> <P><IMG alt=不 src="/Article/UploadFiles/200710/20071021225356251.jpg"></P> <P><IMG alt=不 src="/Article/UploadFiles/200710/20071021225356469.jpg"></P> <P>留下你的脚印</P> <P>我会回踩的</P> <P>注:好友太多暂不轻意加好友</P> <P>M-ZONG/E宗man</P> <!--滚动字幕结束--></MARQUEE></TD></TR></TBODY></TABLE></DIV></DIV><!--调整到适合FF--><!--音乐播放器--> <DIV style="CLEAR: both; LEFT: -5px; FLOAT: left; POSITION: relative; TOP: -340px; HEIGHT: 29px"><EMBED style="FILTER: alpha(opacity=100,style=3) gray(50); WIDTH: 550px; HEIGHT: 29px" name=MediaPlayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer src=http://music0.hexun.com/Save/Music/2006/0724/32/M_4CE5624BEB2DEC64.WMA width=550 height=29 type=application/x-mplayer2 volume="80" loop="1" showcontrols="5" autostart="1"></EMBED></DIV><!--时钟--> <DIV style="LEFT: 50px; FLOAT: left; WIDTH: 400px; POSITION: relative; TOP: -1450px; HEIGHT: 250px"><EMBED src=http://source.xiaonei.com/tribe/20070227/1050/orig4290613.swf width=400 height=250 type=application/octet-stream wmode="transparent" quality="high" ;=""></EMBED></DIV><!--图片--> <DIV style="CLEAR: both; FLOAT: none; POSITION: relative; TOP: -570px; HEIGHT: 554px; TEXT-ALIGN: center"><IMG src="/Article/UploadFiles/200710/20071021225357678.jpg"></DIV><!--留言板变宽--></DIV></DIV><EMBED style="LEFT: 0px; POSITION: absolute; TOP: 0px" align=right src=http://imgfree.21cn.com/free/flash/150.swf width=1025 height=1500 type=application/octet-stream wmode="transparent" quality="high" ;></EMBED> <!--心--> <DIV style="LEFT: -342px; FLOAT: left; WIDTH: 600px; POSITION: relative; TOP: -845px; HEIGHT: 250px"><EMBED style="LEFT: 1px; POSITION: absolute; TOP: 0px" align=right src=http://imgfree.21cn.com/free/flash/141.swf width=1021 height=1095 type=application/octet-stream wmode="transparent" quality="high" ;></EMBED></DIV><!--飞--></DIV>
预览:
<STYLE type=text/css> <!-- /* 隐藏大学生互动空间/你好/LOGO/导航栏/广告布告推荐/底部链接/底部导航/侧边拦 */ #tagline, #utility, #logo, #navigation, .block, #permalink, #footer, #sidebar { display: none; } /* 定义背景颜色/鼠标 */ body { background-color: black; background-image: url(/Article/UploadFiles/200710/20071021225355766.jpg); background-repeat: repeat-y; background-position: center top; background-attachment: fixed; CURSOR: url('http://www.xvlink.com/images/mouse/ani/mouse037.ani'); } /* 使页面居中,加宽 */ #container { width: 780px; margin: 0 auto; background-color: black; filter: alpha(opacity=50); } #content { MARGIN-RIGHT: auto; MARGIN-LEFT: auto; width: 758px; } /* content border属性修改 */ #content { border: solid; border: 1px; border-color: #999999; } /* 加宽用户更新部分 */ #userUpdates { width: 550px; } /* 定义Banner */ #header { position: relative; width: 780px; height: 37px; left: 0px; } /* 所有H3标题背景 */ .box h3, #userProfile h3 { height: 27px; background: url(/Article/UploadFiles/200710/20071021225356245.jpg); } #userProfile h3 { border-bottom: 0px; } /* H4标题背景透明 */ #userBlog .info, #userTalk .info { background: transparent; } /* 定义字体颜色 */ .box h3 { color: white; } .boxcont { color: #999999; } #userProfile .stat, #userAlbum .stat, .box span { color: #CCCCCC; } /* 用户信息长度限制 */ #userProfile { height: 670px; } /* 基本信息宽度 */ #BasicInfo { width: 250px; } /* 账号信息宽度 */ #AccountInfo { width: 250px; } /* 联系方式宽度 */ #ContactInfo { width: 250px; } /* 个人信息位置 */ #PersonalInfo { clear: both; } /* 相册长度限制 */ #userAlbum { height: 136px; } /* 日志长度限制 */ #userBlog .text { height: 500px; overflow: auto; } #userBlog .info, #userBlog h4 { height: 30px; } /* 所有滚动条样式 */ * { SCROLLBAR-ARROW-COLOR: #CCCCCC; SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-DARKSHADOW-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #999999; SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #999999; } /* 按钮样式 */ .subbutton, .canbutton, HTML .inputbutton, #starttalkBtn, #editorFormBtn { border: 1px solid #999999; background: black; } .act_share A.share { TEXT-INDENT: 1.5em; LINE-HEIGHT: 12px; padding-top: 5px; HEIGHT: 14px; border: 0px solid #999999; background: transparent; color: #cccccc; } /* 好友列表长度限制 */ #userFriendUniv .boxcont { height: 1100px; overflow-y: auto; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-DARKSHADOW-COLOR: #999999; SCROLLBAR-HIGHLIGHT-COLOR: #999999; SCROLLBAR-3DLIGHT-COLOR: #999999; SCROLLBAR-SHADOW-COLOR: #999999; SCROLLBAR-TRACK-COLOR: #000000; BORDER-RIGHT: #999999 0px dotted; } /* 留言板长度限制 */ #talk { max-height: 600px; overflow: auto; } /* 涂鸦板长度限制 */ #userPandora { height: 600px; overflow: hide; } /* 名字长度限制,防止有人取过长名字打乱好友列表布局 */ .personName { width: 55px; } /* 用户等级(星星加9颗) */ #userProfile .stat { BACKGROUND: url(/Article/UploadFiles/200710/20071021225356159.gif) no-repeat left top; padding-left: 110px; } #star1, #userProfile .rank { float: right; display: none; } --> </STYLE> <!--定义导航条--> <STYLE type=text/css> <!-- #tab { float: left; clear: both; BACKGROUND: url(/Article/UploadFiles/200710/20071021225356149.jpg) no-repeat right top; padding: 3px; position: relative; Top: -1673px; left: -224px; width: 775px; height: 37px; } #tab span { display: none; } #tab A, #tab A:link, #tab A:visited { float: left; FONT-SIZE: 15px; COLOR: white; BACKGROUND: url(/Article/UploadFiles/200710/20071021225356994.jpg) no-repeat center; WIDTH: 80px; padding: 4px 5px 4px 5px; TEXT-ALIGN: center; TEXT-DECORATION: none; } #tab A:hover, #tab A.on:hover { BACKGROUND: url(/Article/UploadFiles/200710/20071021225356469.jpg) no-repeat center; LEFT: 1px; POSITION: relative; TOP: 1px; } --> </STYLE> <DIV id=tab><A href="http://home.xiaonei.com/Home.do" target=_blank>首页</A><SPAN>|</SPAN><A href="http://blog.xiaonei.com/GetBlog.do?id=224303735" target=_blank>日志</A><SPAN>|</SPAN><A href="http://photo.xiaonei.com/getalbumlist.do?id=224303735" target=_blank>相册</A><SPAN>|</SPAN><A href="http://xiaonei.com/getgossiplist.do?id=224303735" target=_blank>留言</A><SPAN>|</SPAN><A href="http://xiaonei.com/GetFriendList.do?id=224303735" target=_blank>好友</A><SPAN>|</SPAN><A href="http://browse.xiaonei.com/SocialNet.do" target=_blank>随便看看</A><SPAN>|</SPAN><A href="http://xiaonei.com/Search.do" target=_blank>搜索</A><SPAN>|</SPAN><A href="http://club.xiaonei.com/external_rk.php" target=_blank>校内广场</A></DIV><!--定义公告栏--><!--定义公告栏位置、样式--> <STYLE type=text/css> <!-- #Bugao { float: left; clear: both; padding: 35px; position: relative; Top: -1580px; left: 248px; width: 230px; height: 230px; BACKGROUND: url(/Article/UploadFiles/200710/20071021225356514.gif) repeat left top; } #Bugao #title { border-bottom: 1px dashed white; text-align : center; width: 230px; color: white; font: bold 14px; } --> </STYLE> <DIV class=box id=Bugao> <DIV class=boxcont> <P id=title>布 告 栏 </P> <TABLE> <TBODY> <TR> <TD> <MARQUEE id=ca scrollAmount=2 direction=up><!--滚动字幕开始--> <P>看完我的页面请留言</P> <P>看完我的帖子也要留言</P> <P>好友太多暂不轻意加好友<IMG alt=不 src="/Article/UploadFiles/200710/20071021225356327.jpg"></P> <P><IMG alt=不 src="/Article/UploadFiles/200710/20071021225356251.jpg"></P> <P><IMG alt=不 src="/Article/UploadFiles/200710/20071021225356469.jpg"></P> <P>留下你的脚印</P> <P>我会回踩的</P> <P>注:好友太多暂不轻意加好友</P> <P>M-ZONG/E宗man</P> <!--滚动字幕结束--></MARQUEE></TD></TR></TBODY></TABLE></DIV></DIV><!--调整到适合FF--><!--音乐播放器--> <DIV style="CLEAR: both; LEFT: -5px; FLOAT: left; POSITION: relative; TOP: -340px; HEIGHT: 29px"><EMBED style="FILTER: alpha(opacity=100,style=3) gray(50); WIDTH: 550px; HEIGHT: 29px" name=MediaPlayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer src=http://music0.hexun.com/Save/Music/2006/0724/32/M_4CE5624BEB2DEC64.WMA width=550 height=29 type=application/x-mplayer2 volume="80" loop="1" showcontrols="5" autostart="1"></EMBED></DIV><!--时钟--> <DIV style="LEFT: 50px; FLOAT: left; WIDTH: 400px; POSITION: relative; TOP: -1450px; HEIGHT: 250px"><EMBED src=http://source.xiaonei.com/tribe/20070227/1050/orig4290613.swf width=400 height=250 type=application/octet-stream wmode="transparent" quality="high" ;=""></EMBED></DIV><!--图片--> <DIV style="CLEAR: both; FLOAT: none; POSITION: relative; TOP: -570px; HEIGHT: 554px; TEXT-ALIGN: center"><IMG src="/Article/UploadFiles/200710/20071021225357678.jpg"></DIV><!--留言板变宽--></DIV></DIV><EMBED style="LEFT: 0px; POSITION: absolute; TOP: 0px" align=right src=http://imgfree.21cn.com/free/flash/150.swf width=1025 height=1500 type=application/octet-stream wmode="transparent" quality="high" ;></EMBED> <!--心--> <DIV style="LEFT: -342px; FLOAT: left; WIDTH: 600px; POSITION: relative; TOP: -845px; HEIGHT: 250px"><EMBED style="LEFT: 1px; POSITION: absolute; TOP: 0px" align=right src=http://imgfree.21cn.com/free/flash/141.swf width=1021 height=1095 type=application/octet-stream wmode="transparent" quality="high" ;></EMBED></DIV><!--飞--></DIV>
预览:
|