分享

CommonCss通用样式

 CoCO-Ebook 2013-09-25

body
{
     font-family: "Verdana" , "宋体" , "Arial Narrow";
    margin: 0;
    font-size: 12px;
    color: #232323;
    background-color: #FFFFFF;
}

ul
{
    list-style: none;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td
{
    padding: 0;
    margin: 0;
}
a
{
    text-decoration: none;
    color: #4F4F4F;
}
a:link
{
    color: #636363;
    text-decoration: none;
}
a:visited
{
    color: #636363;
}
a:hover
{
     color: #636363;
    text-decoration: none;
}
a:active
{
     color: #636363;
}

/* Styles for basic forms
-----------------------------------------------------------*/

fieldset
{
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 1.2em;
    font-weight: bold;
}

textarea
{
    min-height: 75px;
}

.editor-label
{
    margin: 1em 0 0 0;
}

.editor-field
{
    margin: 0.5em 0 0 0;
}
/* FORM LAYOUT ELEMENTS  
----------------------------------------------------------*/

 

input[type="text"]
{
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"]
{
    width: 200px;
    border: 1px solid #CCC;
}

/* HEADINGS  
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}
/* TABLE
----------------------------------------------------------*/

table
{
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td
{
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th
{
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/*page style
-----------------------------------------------------------*/
#container
{
    margin: 0 auto;
    width: 980px;
    height: 100%;
}

#header
{
    height: 40px;
}

#header #_login
{
    margin-left: 500px;
    width: 100px;
}
#Content
{
    width: 100%;
    clear: both;
    position: relative;
    overflow: auto;
    height: auto;
}
/*foot*/
#foot
{
    width: 100%;
    background: url("http://static./images/footer.png") repeat-x scroll 0 0 transparent;
    height: 70px;
    overflow: auto;
}

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约