Heim > Artikel > Web-Frontend > 我是这样优化广告的_html/css_WEB-ITnose
博客地址:http://www.cnblogs.com/jcomey/
html { background: #FFF; color: #000;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td { margin: 0; padding: 0;}table { border-collapse: collapse; border-spacing: 0;}fieldset,img { border: 0;}address,caption,cite,code,dfn,em,strong,th,var { font-weight: normal; font-style: normal;}ol,ul { list-style: none;}caption,th { text-align: left;}h1,h2,h3,h4,h5,h6 { font-weight: normal; font-size: 100%;}q:before,q:after { content: '';}abbr,acronym { border: 0; font-variant: normal;}sup { vertical-align: text-top;}sub { vertical-align: text-bottom;}input,textarea,select { font-weight: inherit; font-size: inherit; font-family: inherit;}legend { color: #000;}body { margin: 0; padding: 0; font-size: 14px; font-family: "微软雅黑";}.clear:after { clear: both; display: block; visibility: hidden; height: 0; content: ""; font-size: 0;}.clear { *display: inline-block; _height: 1%;}.catListTitle { padding: 10px 0; border-bottom: 1px solid #d8d8d8; background: none repeat scroll 0 0 #fff; color: #565656; text-align: left; text-shadow: none; font-weight: bold; font-size: 16px;}body { font-family: 微软雅黑!important;}#blogTitle { height: 175px; background: url(http://api.drp.io/files/5475965a451c5.png) repeat #e6c226;}#blogTitle h1 { padding-top: 30px; text-align: center; font-size: 24pt;}#blogTitle h2 { text-align: center;}.postTitle a:link,.postTitle a:visited,.postTitle a:active { transition: all .4s ease-in-out 0;}.comment_btn { padding: 15px 25px; width: auto; height: auto; border: 1px solid #f30; background: #f60; color: #fff; font-size: 16pt; out-line: none;}.comment_btn:hover { background: #f30; cursor: pointer; transition: all .4s linear 0;}.dayTitle { position: absolute; left: -100px; width: 70px; height: 70px; border: 1px solid #f60; border-radius: 50%; text-align: center; font-size: 12px; line-height: 1.5;}.day { position: relative; margin: 35px 0;}textarea { border: 1px solid #d8d8d8;}#div_digg { float: left;}#green_channel #green_channel_contact { background: #6b9f40;}#green_channel #green_channel_digg { margin-left: -70px;}#green_channel { border: 0;}#navList { margin: 20px auto; width: 600px; text-align: center;}#navList li { display: inline-block;}#navList li a { padding: 4px 6px; height: 16px; border: 1px solid #fff; color: #999; white-space: nowrap; line-height: 16px;}#navList li a:hover { color: #f60; transition: all .3s linear 0;}#main { margin: 0 auto; width: 980px;}a[href^=http] { color: #151515; text-decoration: none;}a[href^=http]:hover { color: #f60; text-decoration: underline; transition: all .3s linear 0;}.dayTitle a { position: absolute; top: 10px; left: 0; overflow: hidden; padding: 5px; height: 50px; color: #f60; font-weight: 700;}.postTitle a { color: #121212; font-weight: 700; font-size: 16px;}.postCon { color: #999; line-height: 2;}.c_b_p_desc_readmore { display: block; padding: 10px 0; border-top: 1px dashed #e8e8e8;}#footer,#post_next_prev>br { display: none;}#author_profile,#ad_under_post_holder,#site_nav_under,#under_post_news,#google_ad_c,.c_ad_block,#under_post_kb { display: none; visibility: hidden;}#leftcontentcontainer { position: fixed; top: 300px; right: 0; padding: 0; width: 260px; height: 300px; background: #fff;}#EntryTag>a { padding: 2px 5px; border-radius: 3px; background: none repeat scroll 0 0 #e6c226; font-size: 12px;}