⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 style.css

📁 a project create chat room in asp.net with c sharp and ajax
💻 CSS
📖 第 1 页 / 共 2 页
字号:
html, body
{
	margin: 0px 0 0 0;
	padding: 0;
	height: 100%; /* 100 % height */
	background-color: #f7f7e8;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
}
body{
	overflow:hidden
}
html > body #wrap
{
	height: 100%;
}
/* 100 % height */
#header
{
    position:absolute; 
	width: 100%;
	height: 61px;
	padding: 0px 0 0 0px;
	background: #f7f7e8 url(header_back.jpg) repeat bottom ;
}
#header img{
	margin:0 0 0 10px;
}
html > body #header
{
	
}

#header {top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop);} 

#footer {top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));
} 
.trial{
	text-align:center;
	line-height:40px;
	width:100%;
	position:absolute;
	left:0;
	top:0;
}

#header_right{
	position:absolute;
	top:0px;
	right:1px;
	background: url(header_right.jpg) no-repeat top right;
	width:184px;
	height:61px;
	
}

html > body #content-wrap
{
	height: 100%;
	padding: 0px 0px;
	overflow: hidden;
}


#content{
height:100%;
margin-right:240px;
overflow: hidden;
}


#right
{
	position: absolute;
	width: 161px;
	top: 62px;
	right: 1px;
	bottom: 140px;
	border: 0px #e5e5e5 solid !important;
	padding:0px 0; 
/*	height:expression(document.documentElement.clientHeight - 138 + "px");*/
	background:url(right_top.jpg) repeat-x top right;
}

#users
{
	height: 100%;
	padding: 0px 0px;
	width:160px;
	margin:0 0 0 0px;
	background: url(right_btm.jpg) repeat-x bottom right;
}

#usersright
{	position:absolute;
	width: 158px;
	top:30px;
	overflow: auto;
	overflow-x: hidden;
	padding: 0px 0 0 0px;
	margin-left:2px;
/*	height:expression(document.documentElement.clientHeight - 220 + "px");*/
}

.righthead
{	position:absolute;
	top: 46px;
	font-size: 11px;
	padding-left:30px;
	font-weight:bold;
	color: #909945;
	height: 23px;
	margin: 0 0 0px 0;
	overflow: hidden;
/*	background:url(right-top.gif) no-repeat top right;*/
}
#usersonline
{
	margin-top: 0px;
	margin-left: 4px;
	height: 24px;
	line-height: 18px;
	border-bottom: 0px #606060 solid;
	width: 120px;
	padding: 0 0 0 26px;
	/*background: url(usersonline.jpg) left top no-repeat;*/
	font-size:11px;
	color:#eb6e1c;
	font-weight:bold;
}
.usersonline_right{
	display:none;	
}
.usersonline_left{
	display:none;
}

#select_chatroom
{
	position: absolute;
	bottom: 16px;
	right: 20px;
	height: 30px;
	width: 110px;
	vertical-align: bottom !important;
}
#select_chatroom input, #select_chatroom select
{
	width: 110px;
	font-size:11px;
	line-height:20px;
}


#footer
{
	width: 100%;
	height: 70px;
	position:absolute; 
	z-index:10; 
	background: url(footer_back.jpg) repeat-x bottom;

}
html > body #footer
{
	position: fixed;
	bottom: 0;
	height: 70px;
	padding: 0px 0px 0 0px;
	margin-left:0px;
	z-index: 10; /* Prevent certain problems with form controls */
	}


#footer_fonts
{
	width: 100%;
	height: 24px;
	margin: 0px 0 0 10px;
	padding:0px 0 0 0;
	line-height: 24px;
	clear:both;
	position:relative;
	top:8px;
	overflow:hidden;
}
#footer_fonts select{
	font-size:11px;
	line-height:20px;
}

#sendmsg_txt input
{
	width:100%;
	height: 20px;
	padding: 0 0px 0 0;
	margin: 0px 0px 0 0;
	border: 1px #dbd9d9 solid;
	background-color: #fff;
}

#sendmsg_btn input
{
	width: 76px;
	height: 27px;
	background: url(button.jpg) no-repeat top left;
	border:0;
}
#sendtxt_td{
}
#sendmsg_btn{
	padding:10px 0 0 0px;	
}
#sendmsg_txt{
	overflow:hidden;
	padding:10px 0 0 10px;
}



/* USERS AND SERVER MESSAGES*/
#left{
	position: absolute;
	top: 62px;
	left:1px;
	right:163px;
	bottom: 80px;
	padding:0px 0 0 0px;
	/*height:expression(document.documentElement.clientHeight - 152 + "px");
	width:expression(document.documentElement.clientWidth - 163 + "px");*/
	background:url(left_top.jpg) repeat-x top;
	border-right:1px solid #eeeac8;
	border-bottom: 14px #e86d1b solid !important;
}

.tabs{
	height:20px;
}
.tabs .txt{
	float:left;
	line-height:19px;
}

.tab_light{
	float:left;
	background:#f7f7e8 url(tab_active.jpg) no-repeat right top;
	height:20px;
	padding:0px 8px;
	line-height:19px;
	color:#e66d1b;
	cursor: pointer;
}
.tab_on{
	float:left;
	background:#f7f7e8 url(tab_active.jpg) no-repeat right top;
	height:20px;
	padding:0px 8px;
	line-height:19px;
	color:#e66d1b;
	cursor: pointer;
}
.tab_on .close{
	background:url(close.jpg) no-repeat bottom right;
	height:19px;
	width:23px;	
	float:left;
}
.tab_off{
	float:left;
	height:19px;
	background:#f7f7e8 url(tab_inactive.jpg) no-repeat right top;
	border-bottom:1px solid #e2debf;
	padding:0px 8px;
	line-height:19px;
	color:#c3bd8c;
	cursor: pointer;
}

.tab_off .close{
	display:none;
	width:0;
	height:0;
	background:transparent;	
}
.clear{
	clear:both;
}
#messages
{
	position:relative;
	/*position:absolute;*/
	overflow: auto;
	overflow-x: hidden;
	padding: 2px 0px 20px 0px;
/*	height:expression(document.documentElement.clientHeight - 194 + "px");*/
	border-bottom: 0px #e5e5e5 solid !important;
}


* html #messages
{
	width: 100%;
	/*height:expression(document.documentElement.clientHeight - 194 + "px")*/
}

.useravatar
{
	float: left;
	width: 34px;
	height:34px;
	text-align:center;
}
.useravatar img{
	margin:0 auto;
	padding:6px 0 0 0;
}

.srv_msg1
{
    clear: both;
	color: #009933;
	margin: 0 0 4px 6px;
}
.srv_msg2
{
	clear: both;
	color: #990000;
	margin: 0 0 4px 6px;
}
.user_id1
{
	padding: 0px 0 0px 6px;
	height: 34px;
	line-height: 34px;
	color: #000099;
	font-weight: bold;
	float: left;
}
#usersright div.user_id1{
	width:100px !important;
	overflow:hidden;
}
.user_id1 a
{
	color: #000099;
	font-weight: bold;
	text-decoration: none;
}
.user_id2
{
	padding: 0px 0 0px 6px;
	height: 34px;
	line-height: 34px;
	color: #990000;
	font-weight: bold;
	float: left;
}
div.user_msg{
	line-height:34px;
}
.user_msg
{
	float: left;
	padding: 0px 20px 0 8px;
	line-height:34px;	
}
.user_msg span{
	line-height:34px;	
}
.user_msg img{
	vertical-align:middle;
	padding:9px 5px 10px 5px;
}

.msgwrap
{
	width: 100%;
	padding: 0px 0px 0px 0px;
	clear: both;
	margin-bottom: 4px;
	z-index:999;
	position:relative;
	clear:both;
}

.private div.user_id1{
	color:#666;	
	font-weight:bold;
}
.private div.user_msg{
	color:#666;	
	font-style:italic;
}

.file div.user_id1{
	color:#666;	
	font-weight:bold;
}
.file div.user_msg{
	color:#666;	
	font-weight:bold;
}
.img_wrap{
	clear:both;
	padding:0 0 0 20px;	
}
.img_wrap img{
	border:1px solid grey
}

.contextitem
{
    cursor:pointer;
}

.dragHandle {
	width:100%;
	text-align:center;
	vertical-align: middle;
	cursor:move;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -