body { background-image: url("http://www.cppblog.com/images/cppblog_com/dawnbreak/11196/o_bg-top.gif"); background-repeat: repeat-x; background-color: rgb(111, 111, 111); font-family: verdana, 宋体; font-size: 13px; margin: 0px auto; width: 80%; } a:visited, a:active, a:link { color : #2f7f3f; } #masthead { height: 92px; width: 1012px; overflow: hidden; background-color:Transparent; background-image: url(""); background-repeat: no-repeat; color: white; margin: 0px auto; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: left; } #title { position: relative; left: 0px; top: 25px; height: 74px; width: 1000px; overflow: hidden; text-align: center; font-size: 11px; color:#afafaf; /*border: solid 1px #ff0000;*/ } #title h1 { font-size:20px; } #title a:visited, #title a:active, #title a:link { color : white; } #title a:hover { color: #00ffee; } #nav { background-color: Transparent; padding: 0px 0px 0px 0px; width: 1012px; height: 42px; overflow: hidden; margin-left: auto; margin-right: auto; } #navbar { background-image: url(""); background-repeat: repeat-x; background-color:Transparent; height: 42px; } #navbar ul { list-style-type: none; margin: 0px; padding: 0px; } #navbar li { display:block; width:80px; height: 47px; float: left; padding-left: 0px; padding-top:0px; margin-left: 0px; margin-right: 0px; background-image: url(); background-repeat: no-repeat; background-position: 0px 0px; font-size: 12px; font-weight: bold; text-transform: uppercase; text-align:center; vertical-align:middle; } #navbar li:hover { background-image:url("http://www.cppblog.com/images/cppblog_com/dawnbreak/11196/o_12238620331.gif"); background-color:#EFEFEF; color:#000; } #navbar a { padding-top:10px; display:block; width:80px; height: 47px; } #navbar a:link, #navbar a:visited, #navbar a:active { color: #7f7f7f; text-decoration: none; } #navbar a:hover { color: #ffffff; text-decoration: none; } #content { padding: 6px 6px 6px 6px; background-color: #efefef; width: 1000px; overflow: visible; margin-left: auto; margin-right: auto; overflow: visible; background-image:url("http://www.cppblog.com/images/cppblog_com/dawnbreak/11196/o_12238620331.gif"); } #leftmenu { float: left; width : 200px; padding-left: 0px; margin-right:0px; overflow: hidden; background-color:transparet; } #leftmenu h3 { font-size : 1em; font-weight: bold; color:#fefefe; background-color:transparent; background-image:url(http://www.cppblog.com/images/cppblog_com/dawnbreak/11196/o_blogh3.png); margin : 0px; padding: 0 0 0 0; border-style: none; border-width: 0px; border-bottom-width: 0px; border-bottom-color: #dfdfdf; margin : 0px; margin-bottom: 5px; height:22px; vertical-align:middle; } #Calendar1_entryCal { margin:5px 5px 5px 5px; } #main { float: left; margin:0 0 0 0; padding-right: 0px; width:790px; overflow: visible; padding-left: 10px; padding-top: 0px; background-color:transparent; background-repeat:repeat-x repeat-y; } .date { color: #529e00; font-size: 1.1em; font-weight: bold; } .posthead a { display:block; width:100%; } #main a:visited, #main a:active, #main a:link { color : #2f7f3f; font-size : 0.9em; } #main a:hover { color: #fefefe; text-decoration: none; background-color:#2f2f2f; } .post { margin: 0 0 20px 0; line-height:150%; background-color:#afafaf; padding: 6px 6px 6px 6px; } #AjaxHolder_UpdatePanel1 { color:#9f9f9f; } #google_ads_div_cppblog_blogpost_bottom { display:block;/*统一转化为块级元素*/ overflow: hidden; width: 0; height: 0; }