代码语言
.
CSharp
.
JS
Java
Asp.Net
C
MSSQL
PHP
Css
PLSQL
Python
Shell
EBS
ASP
Perl
ObjC
VB.Net
VBS
MYSQL
GO
Delphi
AS
DB2
Domino
Rails
ActionScript
Scala
代码分类
文件
系统
字符串
数据库
网络相关
图形/GUI
多媒体
算法
游戏
Jquery
Extjs
Android
HTML5
菜单
网页交互
WinForm
控件
企业应用
安全与加密
脚本/批处理
开放平台
其它
【
Css
】
好看的表單樣式
作者:
Dezai.CN
/ 发布于
2011/3/9
/
2407
<div> <div class="postbody"> *{ scrollbar-face-color:#E6F2FD; scrollbar-highlight-color:#ffffff; scrollbar-shadow-color:#D6E4EF; scrollbar-3dlight-color:#F1F9FF; scrollbar-arrow-color:#006699; scrollbar-track-color:#F1F9FF; scrollbar-darkshadow-color:#F1F9FF; } body{ margin:0px; color:#666; background-color:#FFF; font-family:Verdana, Geneva, sans-serif; font-size:12px; } form,ul,li{ margin:0px; list-style-type:none; padding:0px; } table { empty-cells: show; border-collapse: collapse; } a{ color:#005eac; text-decoration:none; } a:visited,a:active{ color:#005eac; } a:hover{ color:#ff5500; } img{ border:0px; vertical-align:middle; } h1{ font-size:14px; } .w250{width:250px;} .w380{width:380px;} .wh380{width:380px; height:50px;} .submit{ background:url(button_submit.gif) repeat-x #e3f1fa; border:1px solid #aed0ea; padding:0px 10px; height:24px; line-height:24px; color:#3d80b3; cursor:pointer; } .input{ padding:0px 3px; border:1px solid #d1d1d1; background:url(input_bg.jpg) repeat-x; height:18px; line-height:18px; font-size:12px; color:#999; } .textarea{ padding:3px; border:1px solid #d1d1d1; background:url(input_bg.jpg) repeat-x; font-size:12px; color:#999; } .focus{ border:1px solid #FC0 !important; background:url(focus_bg.jpg) repeat-x !important; color:#00F !important; } .select{ padding:1px; border: 1px solid #CDCDCD; background:#FDFEEF; } .keyword{ border: 1px solid #CDCDCD; background:#FDFEEF; height:20px; line-height:20px; overflow:hidden; } .login_input{ padding:2px 2px 2px 5px; color:#999; font-size:12px; width:150px; height:1.5em; line-height:1.5em; border:1px solid #d1d1d1; background:url(input_bg.jpg) repeat-x; } #login_body{ position:absolute; margin-top:-140px; width:727px; height:230px; margin-left:-350px; top:50%; left:50%; } #login_div{ background:url(login_bg.jpg); width:727px; height:200px; } .login_btn{ width:82px; height:81px; margin:25px 0 0 20px; _margin-left:0px; } #login_form_div { margin-left:400px; line-height:26px; padding-top:30px; } #login_form_div table{ padding:20px; font-size:14px; line-height:26px; } .tipbox{ font-size:12px; color:#F00; line-height:26px; } .left{ float:left; } .right{ float:right; } .clear{ clear:both; } .spClear{ clear:both;height:10px; } .mouse{ cursor:pointer; } #login_footer { text-align:center; color:#999999; } /* 顶部菜单 */ #tabs{ float:right; margin-bottom:2px; font-family:"微软雅黑"; font-size:14px; width:auto; line-height:normal; } #tabs ul{ margin:0; padding:26px 10px 0 0px !important; *padding:27px 10px 0 0px !important; padding:27px 10px 0 0px; list-style:none; } #tabs ul li{ display:inline; margin:0; padding:0; } #tabs ul li a{ float:left; margin:0; padding:0 0 0 4px; background:url("tabsleft.gif") no-repeat left top; text-decoration:none; } #tabs ul li a span{ float:left; display:block; color:#039; background:url("tabsright.gif") no-repeat right top; padding:6px 8px 6px 6px; } /* Commented Backslash Hack hides rule from IE5-Mac \*/ #tabs ul li a span{ float:none; } /* End IE5-Mac hack */ #tabs ul li a:hover{ background-position:0% -42px; } #tabs ul li a:hover span{ color:#5A6AB1; background-position:100% -42px; color:#F5F5F5; } #tabs .hover a{ background:url("tabsleft.gif") no-repeat; background-position:0% -42px; } #tabs .hover a span{ background:url("tabsright.gif") no-repeat; background-position:100% -42px; color:#F5F5F5; } /* 左边导航菜单 */ .left_menu{ text-align:left; font-family:"微软雅黑"; } .left_menu ul{ margin-top:10px;padding-left:10px;} .left_menu ul li{padding-left:15px;background:url(left_menu_bg.gif) no-repeat;} .left_menu ul li a{padding-left:10px;line-height:25px;background:url(ico_01.gif) 0px center no-repeat;} /* 当前位置 */ .navigation{ padding:6px 10px 6px 5px; color:#2F7EAE; border:1px solid #E4E1FF; background:url(nav_bg.gif) repeat-x; } .navigation b{ padding-left:25px; font-weight:normal; background:url(home.gif) 5px center no-repeat #F8F7FF; } .navigation .add{ float:right; padding-left:15px; background:url(add.gif) no-repeat 0 0; } .navigation .back{ float:right; padding-left:15px; background:url(back.gif) no-repeat 0 0; } .warning{ padding:8px 10px 8px 30px; border:1px solid #FAF4B8; color:#C52716; background:url(warning.gif) 8px center no-repeat #FEFDE9; } .correct{ padding:8px 10px 8px 30px; border:1px solid #CCF9C1; color:#090; background:url(correct.gif) 8px center no-repeat #F1FEF2; } .disable{ padding:8px 10px 8px 30px; border:1px solid #F9F2B7; color:#F00; background:url(disable.gif) 8px center no-repeat #FDF8E8; } .btn_bg a{ padding:1px 8px; color:#000; border:1px solid #70b1cf; background:url(btn_bg.gif) repeat-x; } .btn_all{ padding:1px 8px; color:#000; border:1px solid #70b1cf; background:url(btn_bg.gif) repeat-x; cursor:pointer; } .msgtable{ border:1px solid #EDECFF; } .msgtable th{ padding:0.5em; font-weight:700; /*border:1px solid #EDECFF;*/ } .msgtable td{ padding:0.4em; border-bottom:1px solid #F3F3F3; } .msgtable th{ /*background:#F8F7FF;*/ background:url(table_th_bg.gif) repeat-x bottom; } .tr_bg{background:#F9F9F9;} .tr_hover_col{background:#EAEAEA;} .navtable{padding:0.6em;border:1px solid #EDECFF;} .navtable td{width:80px;} .title5 { background: url("titlebg2.gif"); width: 80px; cursor: hand; line-height: 120%; padding-top: 2px; text-align: center; height: 20px; } .title6 { font-weight: normal; background: url("titlebg1.gif"); width: 80px; cursor: hand; color: #ffffff; padding-top: 2px; text-align: center; height: 20px; } /*提示文字样式*/ #HintMsg{ width:271px; position:absolute; display:none; } #HintMsg .HintTop{ height:9px; background:url(hintbg1.gif) no-repeat; overflow:hidden; } #HintMsg .HintInfo{ padding:0 5px; border-left:1px solid #000; border-right:1px solid #000; background:#FFFFE1; line-height:1.5em; } #HintMsg .HintInfo b{ display:block; margin-bottom:6px; padding-left:15px; background:url(hint.gif) left center no-repeat; height:13px; line-height:16px; } #HintMsg .HintInfo b span{ display:block; float:right; text-indent:-9999px; background:url(close.gif) no-repeat; width:12px; height:12px; cursor:pointer; } #HintMsg .HintFooter{ height:22px; background:url(hintbg2.gif) no-repeat; } /*设置提示样式*/ .icon-01{ margin:0; padding:10px 0 0 80px; color:#4D4D4D; font-family:"微软雅黑"; line-height:1.8em; min-height:60px; background:url(icon-01.gif) no-repeat 10px 10px; } .icon-02{ margin:0; padding:10px 0 0 80px; color:#4D4D4D; font-family:"微软雅黑"; line-height:1.8em; min-height:60px; background:url(icon-02.gif) no-repeat 10px 10px; } .icon-03{ margin:0; padding:10px 0 0 80px; color:#4D4D4D; font-family:"微软雅黑"; line-height:1.8em; min-height:60px; background:url(icon-03.gif) no-repeat 10px 10px; } .icon-01 b{ display:block; color:#090; font-size:14px; line-height:2.0em; } .icon-02 b{ display:block; color:#F00; font-size:14px; line-height:2.0em; } .icon-03 b{ display:block; color:#FC0; font-size:14px; line-height:2.0em; } /*页面居中显示*/ .pcent{ top:35%; right:35%; position:absolute; display:none; } /*验证表单样式*/ span.error{ margin-left:5px; padding-left:25px; color:#F00; background:url(error.gif) left center no-repeat; } span.success{ margin-left:5px; padding-left:25px; color:#999; background:url(success.gif) left center no-repeat; } /*其它样式*/ .hide{display:none;} .up-01,.up-02{ display:block; float:right; padding-left:20px; cursor:pointer; line-height:17px; } .up-01{ background:url(top_ico1.gif) no-repeat 0 center; } .up-02{ background:url(top_ico2.gif) no-repeat 0 center; } /*大图预览提示*/ #imgtip{ position:absolute; border:1px solid #ccc; background:#fff; padding:2px; display:none; } .comment{ color:#06F; line-height:1.0em; } /*产品列表显示样式*/ .pro_img_list{margin:0;padding:0;min-width:800px;position:relative;} .pro_img_list ul{margin:0 0 0 -20px;} .pro_img_list ul li{float:left;margin:0 0 10px 20px;padding:5px 10px;width:120px;height:168px;border:1px solid #bce5f8;background:url(pro_bg.gif) repeat-x;overflow:hidden;} .pro_img_list ul li .nTitle{padding-bottom:5px;line-height:20px;height:20px;color:#005eac;} .pro_img_list ul li .nImg img{width:120px;height:120px;} .pro_img_list ul li .nBtm{padding-top:5px;height:16px;} .pro_img_list ul li .nBtm img{vertical-align:middle;} /*file容器样式*/ a.files {margin:0 auto;float:left; width:64px;height:18px;overflow:hidden;display:block;border:1px solid #70b1cf;background:url(upfilebg.gif) left top no-repeat;text-decoration:none;} /*file设为透明,并覆盖整个触发面*/ a.files input {margin-left:-240px;font-size:20px;cursor:pointer;filter:alpha(opacity=0);opacity:0;} /*取消点击时的虚线框*/ a.files, a.files input{outline:none;/*ff*/hide-focus:expression(this.hideFocus=true);/*ie*/} .uploading{float:left;background:url(loading.gif) no-repeat left center;padding-left:18px;display:none;line-height:20px;height:20px;} </div> </div>
试试其它关键字
同语言下
.
前端PC-移动端CSS公共样式+HTML
.
手机端页面通用样式
.
H5页面通用头部设置
.
elect默认样式美化代码兼容移动端和pc端
.
按钮效果 css
.
唤醒app
.
放大效果
.
html5+css3实现上拉和下拉刷新
.
html上传图片后,在页面显示上传的图片
.
html5实现点击弹出图片
可能有用的
.
前端PC-移动端CSS公共样式+HTML
.
手机端页面通用样式
.
H5页面通用头部设置
.
elect默认样式美化代码兼容移动端和pc端
.
按钮效果 css
.
唤醒app
.
放大效果
.
html5+css3实现上拉和下拉刷新
.
html上传图片后,在页面显示上传的图片
.
html5实现点击弹出图片
Dezai.CN
贡献的其它代码
(
4037
)
.
多线程Socket服务器模块
.
生成随机密码
.
清除浮动样式
.
弹出窗口居中
.
抓取url的函数
.
使用base HTTP验证
.
div模拟iframe嵌入效果
.
通过header转向的方法
.
Session操作类
.
执行sqlite输入插入操作后获得自动编号的ID
Copyright © 2004 - 2024 dezai.cn. All Rights Reserved
站长博客
粤ICP备13059550号-3