search
HomeWeb Front-endHTML Tutorialdiv css basic framework_html/css_WEB-ITnose

基本盒子模型框架,非完整项目代码,仅是个结构,如您觉得有用欢迎转载或讨论,但引用请注明文章来源,如有问题请email指出。感谢 ~

 

html文件





无标题文档






  
  
  
  
  
  

      

          

           
           

             

               

                     
  • 新闻列表

  •                  
  • 新闻列表

  •                  
  • 新闻列表

  •                  
  • 新闻列表

  •                

               

                     
  • 评论列表

  •                

               

                     
  • 技术列表

  •                

               

                     
  • 点评列表

  •                

             

           

         

      

      

          
          

              

                

username:
                  
                


                

password :
                  
                


                


                  
                        
                  
                


               

          

      

  

  
  

        
        

             

                  maintext_top
                  div css basic framework_html/css_WEB-ITnose
             

             

                 maintext_text
                < ;h2>text1


There is no pregnant woman to laugh at.
             It is a pure wisdom, a crucible from, a variety of and, it receives as, for Maecenas in bed.
         But as a joke. Fusce malesuada enim vitae lacus
              Euismod vulputate No worries or fears. Maecenas vulputate some hatred.
             Your chocolate is just a foot away. For the spread of the word, always, it needs a gate, it needs a place,
             The real estate is now in the market. He is said to have lived in this street.


                

text2

There is no pregnant woman to laugh at.
             It is a pure wisdom, a crucible from, a variety of and, it receives as, for Maecenas in bed.
         But as a joke. Fusce malesuada enim vitae lacus
              Euismod vulputate No worries or fears. Maecenas vulputate some hatred.
             Your chocolate is just a foot away. For the spread of the word, always, it needs a gate, it needs a place,
             The real estate is now in the market. He is said to have lived in this street.
                

text3


                

There is no pregnant woman to laugh at.
             It is a pure wisdom, a crucible, a variety, and, for Maecenas in bed.
         But as a joke. Fusce malesuada enim vitae lacus
              Euismod vulputate No worries or fears. Maecenas vulputate some hatred.
             Your chocolate is just a foot away. For the spread of the word, always, it needs a gate, it needs a place,
             The real estate is now in the market. He is said to have lived in this street.
                

text4


                

There is no pregnant woman to laugh at.
             It is a pure wisdom, a crucible from, a variety of and, it receives as, for Maecenas in bed.
         But as a joke. Fusce malesuada enim vitae lacus
              Euismod vulputate No worries or fears. Maecenas vulputate some hatred.               Duis scelerisque justo a pede. Nam augue lorem, semper at, porta eget, placerat eget,
              purus. Suspendisse mattis nunc vestibulum ligula. In hac habitasse platea dictumst.


                 

text5


                 

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam gravida enim ut risus.
              Praesent sapien purus, ultrices a, varius ac, suscipit ut, enim. Maecenas in lectus.
              Donec in sapien in nibh rutrum gravida. Sed ut mauris. Fusce malesuada enim vitae lacus
              euismod vulputate. Nullam rhoncus mauris ac metus. Maecenas vulputate aliquam odio.
              Duis scelerisque justo a pede. Nam augue lorem, semper at, porta eget, placerat eget,
              purus. Suspendisse mattis nunc vestibulum ligula. In hac habitasse platea dictumst.


             

        

  

  
  

       
       

           

About


           

Enlighten Designs is an Internet solutions provider that specialises in
              front and back end development. To view some of the web sites we have created view our
              portfolio.


           

We are currently undergoing a 'face lift', so if you have any questions or would
              like more information about the services we provide please feel free to contact us.


           

Contact Us


           

Phone: (***)********

              Fax: ((***)********

              Email: ****@163.com

              *****, HanKou, WuHan


           

More contact information…


       

  

  
  





CSS file

/*主页面***************************************************/
html, body {
margin: 0;
padding: 0;
}

body {
font-family: Arial, Helvetica, Verdana, Sans-serif;
font-size: 12px;
color: #666666;
background: #ffffff;
}

/*page-container*******************************************************/
#page-container {
width: 760px;
margin: 0 auto;
}

/*main-nav*****************************************************/
#main-nav {
height: 30px;
padding:20px 20px 0 0;
}

#main-nav ul {
list-style:none;
margin-right:0px;
margin-bottom:0px;
}

#main-nav ul li{
    float: right;
    margin:0 15px;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #000000;
}

#main-nav li a {
    font-family: Tahoma, Arial, Helvetica, Sans-serif;
    text-decoration: none;
    color: #333333;
    font-size: 18px;
}

#main-nav li a:hover {
    color: #66FFFF;
    text-decoration: underline;
    background-color: #CCCCCC;
    display: block;
    font-size: 18px;
}

/*header**********************************************************/
#header {
width:760px;
height:150px;
background:url(../img/banna.gif);
margin-bottom:5px;
}

/*main***********************************************************/
#main {
margin-bottom:5px;
}

/*MainLeft*/
#MainLeft {
    padding:5px;
    width:242px;
    border: 1px solid #66FFFF;
}

#MainLeft #user {
    border-top-width: 1px;
    border-top-style: dotted;
    border-top-color: #66FFFF;
}

#MainLeft #user .textfield{
    background-color: #DFEFF0;

}

#MainLeft #user .button{
    height: 25px;
    width: 60px;
}

/*tab*/
#tab {
width:460px;
height:345px;
float:right;
margin-left:10px;
border: 1px solid #66FFFF;
padding:15px;
}

/*content_1*******************************************************/
#content_1 {
height:700px;
width:758px;
margin-bottom:5px;
border: 1px solid #66FFFF;
}


/*sidebar*/
#sidebar {
float:right;
width:260px;
height:690px;
border: 1px solid #66FFFF;
margin:5px;
}

#sidebar .sidebar_all {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #66FFFF;
    margin-bottom:5px;
}

#sidebar a:link{
 color: #000000;
 text-decoration:none;
}
#sidebar a:visited {
 color: #666666;
 text-decoration:none;
}
#sidebar a:hover {
 color: #66FFFF;
 text-decoration:underline;
}

#sidebar span {
font-size: medium;
color: #66FFFF;
text-decoration: none;
background-color: #CCCCCC;
text-align: center;
line-height: 30px;
display: block;
}

#sidebar ul li
{
margin:5px;
}
/*maintext*/
#maintext {
width:478px;
height:690px;
border: 1px solid #66FFFF;
margin:5px;
}

#maintext a:link{
 color: #000000;
 text-decoration:none;
}
#maintext a:visited {
 color: #666666;
 text-decoration:none;
}
#maintext a:hover {
 color: #000000;
 text-decoration:underline;
}

#maintext span {
    font-size: medium;
    color: #66FFFF;
    text-decoration: none;
    background-color: #66FFFF;
    text-align: center;
    line-height: 30px;
    display: block;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-right-color: #333333;
    border-bottom-color: #333333;
}

#maintext #maintext_top {
margin-bottom:2px;
}

#maintext #maintext_text {
    overflow-y: scroll;
    height:442px;
}

#maintext #maintext_text.padding {
padding:15px;;
}

#maintext #maintext_text h2 {
margin-bottom:15px;
}

/*content_2*********************************************************************************/
#content_2{
border: 1px solid #66FFFF;
}

/*sidebar-a*/
#sidebar-a {
width: 260px;
float: right;
line-height: 18px;
}

#sidebar-a .padding {
padding: 25px;
}

/*content*/
#content {
margin-top:15px;
margin-right: 260px;
line-height: 18px;
}

#content h2 {
margin: 0;
padding: 0;
padding-bottom: 15px;
}

#content p {
margin: 0;
padding: 0;
padding-bottom: 15px;
}

#content.padding {
padding: 25px;
}

/*footer***********************AD's CSS*****************************************************/
#footer {
clear: both;
height: 66px;
font-family: Tahoma, Arial, Helvetica, Sans-serif;
font-size: 10px;
color: #c9c9c9;
border-top: 1px solid #efefef;
padding: 13px 25px;
line-height: 18px;
margin-top:2px;
}

#footer a {
color: #c9c9c9;
text-decoration: none;
}

#footer a:hover {
color: #db6d16;
}

#footer #altnav {
float: right;
text-align: right;
}


/****************************************************/
/**************tab's CSS******************************/
#f_div {
MARGIN-TOP: 0px;
OVERFLOW: hidden;
WIDTH: 242px;
HEIGHT: 188px
}

#f_imgDiv {
}

#f_img {
    FILTER: revealTrans(duration=1,transition=23);
    border: 1px solid #66FFFF;
}

#f_buttonDiv {
 FILTER: ALPHA(opacity=70); OVERFLOW: hidden; WIDTH: 100%; POSITION: relative; TOP: -15px; HEIGHT: 16px
}

#all_button {
 BACKGROUND: #fff
}

#f_line {
FILTER: progid:DXImageTransform.Microsoft.Alpha(startX=0, startY=0, finishX=100, finishY=100,style=1,opacity=0,finishOpacity=40);
FLOAT: right;
WIDTH: 100px;
BACKGROUND-COLOR: #000
}

#f_buttonDiv A {
PADDING-RIGHT: 0px! important;
PADDING-LEFT: 7px; FLOAT: right;
PADDING-BOTTOM: 0px! important;
FONT: bold 9px sans-serif; OVERFLOW: hidden;
BORDER-LEFT: #fff 1px solid;
WIDTH: 22px;
COLOR: #fff;
PADDING-TOP: 1px;
HEIGHT: 15px
}

#f_buttonDiv A:link {
 BACKGROUND: #000
}

#f_buttonDiv A:visited {
 BACKGROUND: #000
}

#f_buttonDiv A:active {
 BACKGROUND: #000
}
#f_buttonDiv A:hover {
 BACKGROUND: #ff840c
}

#f_buttonDiv A.on:link {
 BACKGROUND: #ff840c
}

#page-container #show #imTEXT #tabs1 .main1box #main1 .block li {
padding: 5px;
padding-left: 35px;
text-align: left;
}
#f_buttonDiv A.on:visited {
 BACKGROUND: #ff840c
}

#f_buttonDiv A.on:active {
 BACKGROUND: #ff840c
}
#f_buttonDiv A.on:hover {
 BACKGROUND: #ff840c
}

#f_text {
 VERTICAL-ALIGN: middle;
 LINE-HEIGHT: 20px;
 HEIGHT: 28px;
 TEXT-ALIGN: center
}

/***/
/***/
#tabs1{
 text-align:left;
 width:400px;
}
.menu1box{
 position:relative;
 overflow:hidden;
 height:22px;
 width:405px;
 text-align:left;
}
#menu1{
 position:absolute;
 top:0;
 left:0;
 z-index:1;
}
#menu1 li{
 float:left;
 display:block;
 cursor:pointer;
 width:72px;
 text-align:center;
 line-height:21px;
 height:28px;
}
#menu1 li.hover{
 background:#fff;
 border-left:1px solid #333;
 border-top:1px solid #333;
 border-right:1px solid #333;
}
.main1box{
 clear:both;
 margin-top:-1px;
 border:1px solid #333;
 height:320px;
 width:450px;
}
#main1 ul{
 display: none;
}

#main1 ul{
 margin-left:30px;
 margin-top:15px;
}

#main1 ul.block{
 display: block;
 margin-left:30px;
 margin-top:15px;
}

#main1 ul li{
margin:5px;
}

a:link{
 color:#00F;
 text-decoration:none;
}
a:visited {
 color: #00F;
 text-decoration:none;
}
a:hover {
 color: #c00;
 text-decoration:underline;
}

#menu1 li.hover a {
font-family: Tahoma, Arial, Helvetica, Sans-serif;
    display: block;
    color: #333333;
}

#menu1 li.hover a:hover {
display: block;
background:#66FFFF;
}

 

 

完全代码下载

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
HTML as a Markup Language: Its Function and PurposeHTML as a Markup Language: Its Function and PurposeApr 22, 2025 am 12:02 AM

The function of HTML is to define the structure and content of a web page, and its purpose is to provide a standardized way to display information. 1) HTML organizes various parts of the web page through tags and attributes, such as titles and paragraphs. 2) It supports the separation of content and performance and improves maintenance efficiency. 3) HTML is extensible, allowing custom tags to enhance SEO.

The Future of HTML, CSS, and JavaScript: Web Development TrendsThe Future of HTML, CSS, and JavaScript: Web Development TrendsApr 19, 2025 am 12:02 AM

The future trends of HTML are semantics and web components, the future trends of CSS are CSS-in-JS and CSSHoudini, and the future trends of JavaScript are WebAssembly and Serverless. 1. HTML semantics improve accessibility and SEO effects, and Web components improve development efficiency, but attention should be paid to browser compatibility. 2. CSS-in-JS enhances style management flexibility but may increase file size. CSSHoudini allows direct operation of CSS rendering. 3.WebAssembly optimizes browser application performance but has a steep learning curve, and Serverless simplifies development but requires optimization of cold start problems.

HTML: The Structure, CSS: The Style, JavaScript: The BehaviorHTML: The Structure, CSS: The Style, JavaScript: The BehaviorApr 18, 2025 am 12:09 AM

The roles of HTML, CSS and JavaScript in web development are: 1. HTML defines the web page structure, 2. CSS controls the web page style, and 3. JavaScript adds dynamic behavior. Together, they build the framework, aesthetics and interactivity of modern websites.

The Future of HTML: Evolution and Trends in Web DesignThe Future of HTML: Evolution and Trends in Web DesignApr 17, 2025 am 12:12 AM

The future of HTML is full of infinite possibilities. 1) New features and standards will include more semantic tags and the popularity of WebComponents. 2) The web design trend will continue to develop towards responsive and accessible design. 3) Performance optimization will improve the user experience through responsive image loading and lazy loading technologies.

HTML vs. CSS vs. JavaScript: A Comparative OverviewHTML vs. CSS vs. JavaScript: A Comparative OverviewApr 16, 2025 am 12:04 AM

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTML: Is It a Programming Language or Something Else?HTML: Is It a Programming Language or Something Else?Apr 15, 2025 am 12:13 AM

HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

HTML: Building the Structure of Web PagesHTML: Building the Structure of Web PagesApr 14, 2025 am 12:14 AM

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

From Text to Websites: The Power of HTMLFrom Text to Websites: The Power of HTMLApr 13, 2025 am 12:07 AM

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

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 Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software