简单css

来源:互联网 发布:百家讲坛听书软件 编辑:程序博客网 时间:2024/05/14 06:48




#divMain {margin-left: 240px;}  /*最外面的div的外边距*/




            /*文字纵向居中*/                                                            /*背景色,取了一个图片上的部分颜色*/
#divTitle {line-height: 30px; width: 880px; height: 30px; border: 1px solid #d0d0d0; background: url(/goods/images/bg_btns.png) repeat-x 0px -132px;}


#spanTitle {margin-left: 18px; font-weight: 900;} /*外边距,文字加粗*/


#divBody {width: 880px; height: 400px; border-left: 1px solid #d0d0d0;border-bottom: 1px solid #d0d0d0;border-right: 1px solid #d0d0d0;}
.tdText {width: 300px; text-align: right;}/*文本右对齐*/
.tdInput{width: 250px;}
.tdError {width: 300px;}
#tableForm {line-height: 50px;}/*每个行高*/
                                                                    /* input中的,光标居中,                          内边距*/
.inputClass {width: 240px; height: 32px; border: 1px solid #7f9db9; line-height: 32px; padding-left: 10px;}
#imgVerifyCode {width: 100px;}/*验证码拉长*/


                   /*验证码图片居中,直接设置所在的div*/
#divVerifyCode {text-align: center; border: 1px solid #e2e2e2;}
/*内边距,从上到左*/


                                                      /*不让图片循环*/
.errorClass {background: url(/goods/images/error.png) no-repeat; color: #f40000; font-size: 10pt; border:1px solid #ffb8b8; background-color: #fef2f2; padding: 8px 8px 8px 35px;}

0 0