Home Web Front-end HTML Tutorial div css basic framework_html/css_WEB-ITnose

div css basic framework_html/css_WEB-ITnose

Jun 24, 2016 pm 12:30 PM

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

 

html文件





无标题文档






  
  
  
  
  
  

      

          

           
           

             

               

                     
  • 新闻列表

  •                  
  • 新闻列表

  •                  
  • 新闻列表

  •                  
  • 新闻列表

  •                

               

                     
  • 评论列表

  •                

               

                     
  • 技术列表

  •                

               

                     
  • 点评列表

  •                

             

           

         

      

      

          
          

              

                

username:
                  
                


                

password :
                  
                


                


                  
                  
                  
                


               

          

      

  

  
  

        
        

             

                  maintext_top
                 
             

             

                 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 of this Website
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

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What is the purpose of the <progress> element? What is the purpose of the <progress> element? Mar 21, 2025 pm 12:34 PM

The article discusses the HTML &lt;progress&gt; element, its purpose, styling, and differences from the &lt;meter&gt; element. The main focus is on using &lt;progress&gt; for task completion and &lt;meter&gt; for stati

Is HTML easy to learn for beginners? Is HTML easy to learn for beginners? Apr 07, 2025 am 12:11 AM

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

What is the purpose of the <datalist> element? What is the purpose of the <datalist> element? Mar 21, 2025 pm 12:33 PM

The article discusses the HTML &lt;datalist&gt; element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

What is the purpose of the <meter> element? What is the purpose of the <meter> element? Mar 21, 2025 pm 12:35 PM

The article discusses the HTML &lt;meter&gt; element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates &lt;meter&gt; from &lt;progress&gt; and ex

What is the viewport meta tag? Why is it important for responsive design? What is the viewport meta tag? Why is it important for responsive design? Mar 20, 2025 pm 05:56 PM

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

What is the purpose of the <iframe> tag? What are the security considerations when using it? What is the purpose of the <iframe> tag? What are the security considerations when using it? Mar 20, 2025 pm 06:05 PM

The article discusses the &lt;iframe&gt; tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

The Roles of HTML, CSS, and JavaScript: Core Responsibilities The Roles of HTML, CSS, and JavaScript: Core Responsibilities Apr 08, 2025 pm 07:05 PM

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

What is an example of a starting tag in HTML? What is an example of a starting tag in HTML? Apr 06, 2025 am 12:04 AM

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

See all articles