search
HomeWeb Front-endHTML TutorialMy blogCSS_html/css_WEB-ITnose

博客皮肤选定:Custom  禁用模版默认CSS,添加代码,OK。

@charset "utf-8";/* CSS Document *//* By cnblogs.com/blogg/*全局特性*/body {    font-family: Arial, "微软雅黑", \5B8B\4F53, sans-serif;    background-image: url(http://images.cnblogs.com/cnblogs_com/blogg/676186/o_5-120601094354-50.gif);    background-repeat: repeat;    background-color: #FFFDFA;}.clear {    clear: both;}html {    color: #000;    overflow-y: scroll;    background: #fff;}body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, fieldset, lengend, button, input, textarea, form, th, td {    margin: 0;    padding: 0;    list-style-type: none;    list-style-image: none;}pre,code    {    width:100%-20px;    margin: 10px 0;    padding: 10px;    border: 0;    border: 1px dotted #785;    background: #f5f5f5;    word-wrap:break-word;    }body, button, input, select, textarea {    font: 12px/1.5 Tahoma, Arial, "微软雅黑", sans-serif;}h1, h2, h3, h4, h5, h6 {    font-size: 100%;    font-weight: normal;}address, cite, dfn, em, var {    font-style: normal;}code, kbd, pre, samp, tt {    font-family: "Courier New", Courier, monospace;}small {    font-size: 12px;}ul, ol {    list-style: none;}a:link, a:visited {    text-decoration: none;    color: #3399ff;}a:hover {    text-decoration: underline;    color: #3399FF;}abbr[title], acronym[title] {    border-bottom: 1px dotted;    cursor: help;}q:before, q:after {    content: '';}:focus {    outline: 0;}legend {    color: #000;}fieldset, img {    border: none;}button, input, select, textarea {    font-size: 100%;}table {    border-collapse: collapse;    border-spacing: 0;}hr {    border: none;    height: 1px;*color:#fff;}img {    -ms-interpolation-mode: bicubic;}/*html5*/article, aside, dialog, footer, header, hground, section, footer, nav, figure, menu {    display: block}/*主体布局*/#navigator,#blogTitle,#main,#footer{width: 1000px;    position: relative;    margin: 0 auto;}#header{    height: 40px;    width: 100%;    background-color:#2175bc;}#main{    margin-top: 6px;    background-color: rgb(245, 245, 245);    margin-bottom: 0px;    }#mainContent{    width: 765px;    background: white;    box-shadow: 0px 0px 8px #999;    -moz-box-shadow: 0px 0px 8px #999;    -web-kit-shadow: 0px 0px 8px #999;    border-radius: 1px;    -moz-border-radius: 6px;    -web-kit-shadow: 6px;    float: left;    display: inline-block;}#sideBar{    width: 200px;    padding: 16px;    display: inline-block;    overflow: hidden;    color: #2D2D2D;}#footer{    padding-top: 10px;    padding-bottom: 10px;    text-align: center;    color: #000;    font-size: 12px;}/*导航栏*/#navigator{    top: 8px;}#navList li{        float: left;    margin-right: 25px;    display: inline;}#navList li a{             font-family:"Microsoft YaHei";    font-size:15px;    text-decoration: none;    color: #FFF;    padding: 10px;    background-color: #2175bc;}#navList li a:hover{    background-color:#2586d7;    margin-top:-2px;    padding-bottom:12px;    color: #fff;    opacity:1;     }/*结束导航栏*/.blogStats{    color: #CACACA;    font-size: 12px;    text-align: right;}#Header1_HeaderTitle{    color:white;}#Header1_HeaderTitle:hover{    text-decoration: none;}/*main部分样式*/.day{background:white; padding:32px;}.postTitle,.postTitl2,.entrylistPosttitle{    font-size: 20px;    font-family: "微软雅黑";    padding-right: 64px;    padding-left: 10px;    border-left-width: 3px;    border-left-style: solid;    border-left-color: #2175bc;}.postTitle a,.postTitl2 a,.entrylistPosttitle a{    color: #333;}.postTitle a:link, .post-title a:visited,.postTitl2 a:link,.postTitl2 a:visited,.entrylistPosttitle a:link,.entrylistPosttitle a:visited{color:black;}.postTitle a:hover,.postTitl2 a:hover,.entrylistPosttitle a:hover{color:##3399ff;text-decoration:none;}.postBody,.postCon,.entrylistPostSummary{clear:both; margin-top:26px;}.postBody,.postCon,.entrylistPostSummary{font-size:12px;color:#444;line-height:1.8;}.postCon h1, .postCon h2, .postCon h3, .postCon h4, .postCon h5, .postCon h6{    font-weight:bold;    line-height:1.8;    font-family:"微软雅黑";}.postBody h1,.postCon h1{font-size:20px;}.postBody h2,.postCon h2{font-size:18px;}.postBody h3,.postCon h3{font-size:16px;}.postBody h4,.postCon h4{font-size:14px;}.postBody h5,.postCon h5{font-size:14px;}.postBody h6,.postCon h6{font-size:14px;}.postBody dd,.postCon dd{padding-left:2em;}.postBody ul,.postCon ul{list-style:none;margin-left:20px;}.postBody ul li,.postCon ul li{list-style:inside disc;}.postBody dt,.postCon dt{ font-weight:bold; padding:6px 0; clear:both}.postBody ol,.postCon ol{list-style:none;margin-left:20px;}.postBody blockquote,.postCon blockquote{width:90%;margin:0 auto;padding:6px 0 6px 45px;color:#666;    background:white url(images/blockquote.gif) top left no-repeat;}.dayTitle,.postDesc{ font-size:12px; color:#999999;}.postDesc,.postDesc2,.entrylistItemPostDesc{    border-bottom: 1px dashed #E8E7D0;    text-align: right;    margin: 20px 0px;    padding:5px 0px;}.dayTitle{    border:1px solid #cccccc;    position: relative;    top: -20px;    width: 100px;    left: -20px;    padding-top: 3px;    padding-right: 0px;    padding-bottom: 3px;    padding-left: 8px;}.dayTitle a{     color:#333; }.topicListFooter{    padding: 32px;}/*侧栏样式*/#sideBarMain div{margin-bottom:26px;}#sideBarMain div div{margin-bottom:5px;}#sideBarMain h3{    font-weight: bold;    margin-bottom: 12px;    color: #333;    border-bottom-width: 1px;    border-bottom-style: dashed;    border-bottom-color: #D4D4D4;    padding-bottom: 10px;    margin-top: 20px;}/*文章阅读页面样式*/#blog-comments-placeholder,#divRefreshComments,.commentform,#AjaxHolder_UpdatePanel1,.post{padding:32px;}.feedbackItem{    border: 1px solid #E3E3E3;    padding: 5px;    margin-bottom: 10px;    background-color: #F6F6F6;}.blog_comment_body{    color: #929292;    padding-top: 10px;}.forFlow p{margin-bottom:18px;}.forFlow img{    margin-top: 20px;    margin-bottom: 20px;}/*tag页面*/.PostList,.entrylistItem{    margin:20px;}/*隐藏 tag 标题*/.entrylistTitle,.PostListTitle{    display:none;}/*隐藏多余信息*/#ad_text_under_commentbox,#site_nav_under,#ad_under_post_holder,#blogTitle{    display:none;}.cnblogs_code img{margin:0;float:left;}.cnblogs_code_toolbar {margin-top: 0px;}.code{padding:0 10px;}h4{font-size: 16px;background-color: #2175bc;margin: 0 -32px;padding: 0 32px;color: white;}

 

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
The Future of HTML: Evolution and TrendsThe Future of HTML: Evolution and TrendsMay 13, 2025 am 12:01 AM

The future of HTML will develop in a more semantic, functional and modular direction. 1) Semanticization will make the tag describe the content more clearly, improving SEO and barrier-free access. 2) Functionalization will introduce new elements and attributes to meet user needs. 3) Modularity will support component development and improve code reusability.

Why are HTML attributes important for web development?Why are HTML attributes important for web development?May 12, 2025 am 12:01 AM

HTMLattributesarecrucialinwebdevelopmentforcontrollingbehavior,appearance,andfunctionality.Theyenhanceinteractivity,accessibility,andSEO.Forexample,thesrcattributeintagsimpactsSEO,whileonclickintagsaddsinteractivity.Touseattributeseffectively:1)Usese

What is the purpose of the alt attribute? Why is it important?What is the purpose of the alt attribute? Why is it important?May 11, 2025 am 12:01 AM

The alt attribute is an important part of the tag in HTML and is used to provide alternative text for images. 1. When the image cannot be loaded, the text in the alt attribute will be displayed to improve the user experience. 2. Screen readers use the alt attribute to help visually impaired users understand the content of the picture. 3. Search engines index text in the alt attribute to improve the SEO ranking of web pages.

HTML, CSS, and JavaScript: Examples and Practical ApplicationsHTML, CSS, and JavaScript: Examples and Practical ApplicationsMay 09, 2025 am 12:01 AM

The roles of HTML, CSS and JavaScript in web development are: 1. HTML is used to build web page structure; 2. CSS is used to beautify the appearance of web pages; 3. JavaScript is used to achieve dynamic interaction. Through tags, styles and scripts, these three together build the core functions of modern web pages.

How do you set the lang attribute on the  tag? Why is this important?How do you set the lang attribute on the tag? Why is this important?May 08, 2025 am 12:03 AM

Setting the lang attributes of a tag is a key step in optimizing web accessibility and SEO. 1) Set the lang attribute in the tag, such as. 2) In multilingual content, set lang attributes for different language parts, such as. 3) Use language codes that comply with ISO639-1 standards, such as "en", "fr", "zh", etc. Correctly setting the lang attribute can improve the accessibility of web pages and search engine rankings.

What is the purpose of HTML attributes?What is the purpose of HTML attributes?May 07, 2025 am 12:01 AM

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

How do you create a list in HTML?How do you create a list in HTML?May 06, 2025 am 12:01 AM

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML in Action: Examples of Website StructureHTML in Action: Examples of Website StructureMay 05, 2025 am 12:03 AM

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment