2016-04-12 5 views
0

Я пытался найти, в чем стоимость этой проблемы. мой div , если можно, это красный фон. он перекрывается с верхней частью навигатора и другого div. Я думал, что проблема в том, что мой div или группировка моего div, я думал, что могу забыть закрыть один из div. Я дважды проверяю каждый div, но, к сожалению, я не делал никаких ошибок. Я знаю, что есть ошибка, потому что она перекрывается, но я не могу это исправить.более lapping 1 div, но не искажает сайт или не устраивает сайт

если надежда, кто-нибудь получит мою точку зрения и мою проблему. его было больше месяца. Я моя новичок в HTML и CSS

спасибо большого

.content{ 
 
\t width:1024px; 
 
\t margin:auto; 
 
\t height: 2000px; 
 
\t color: ffffff; 
 
\t background-color: #17120f; 
 
} 
 

 

 
.bigimage{ 
 
\t heigth: 100px; \t 
 
\t background-color: red; 
 
} 
 
\t 
 
.signage{ 
 
\t margin-bottom: 10px; 
 
} 
 

 
.navicon{ 
 
\t float:left; 
 
\t width: 100%; 
 
\t margin-left: 940px; 
 
} 
 

 

 
.signage{ 
 
\t float: left; 
 
\t width: 65%; 
 
\t 
 

 
} 
 
.nav{ 
 
\t float: left; 
 
\t width: 35%; \t 
 
\t margin-bottom: 10px; 
 

 
} 
 

 
.nav li{ 
 
\t display: inline; 
 

 
} 
 

 
.nav ul li a{ 
 
\t text-decoration: none; 
 
\t color: ffffff; 
 
} 
 

 
.bigimage{ 
 
\t 
 
\t margin-left: 5px; 
 

 
} 
 

 
.treeparagh{ 
 
\t margin-top: 20px; 
 

 
} 
 

 

 
.firstparag{ 
 
\t float: left; 
 
\t width: 30%; 
 
\t padding-left: 10px; 
 
\t padding-right: 9px; 
 
\t margin-right: 10px; 
 
\t background-color: #17120f; 
 
} 
 

 

 

 

 

 
.firstimage{ 
 
\t float: left; 
 
\t margin-top: 10px; 
 
\t margin-right:10px; 
 

 
} 
 

 

 

 
.secondparag{ 
 
\t float: left; 
 
\t width: 30%; \t 
 
\t padding-left: 10px; 
 
\t padding-right: 9px; 
 
\t margin-right: 10px; 
 
\t background-color: #17120f; 
 
} 
 

 

 

 
.secondimage{ 
 
\t float: left; 
 
\t margin-top: 20px; 
 
\t margin-right: 10px; 
 
} 
 

 

 
.thirdparag{ 
 
\t float: left; 
 
\t width: 30%; \t \t 
 
\t padding-left: 20px; 
 
\t padding-right: 10px; 
 
\t background-color: #17120f; 
 
\t 
 
} 
 

 

 
.thirdimage{ 
 
\t float: left; 
 
\t margin-top: 20px; 
 
\t margin-right: 10px; 
 
} 
 

 

 
.firsttwoparagh{ 
 
\t width: 60%; 
 
\t float: left; 
 

 
} 
 

 
.treeparagh{ 
 
\t background-color:red; 
 

 
}
<body> 
 

 
\t <div class = "content"> 
 
\t \t 
 
     <div class = "navicon"> 
 

 
\t \t \t <a href="#"><img src ="D:\1 DREAM\PROJECT 2\IMGS/house icon.png"/></a> 
 
\t \t \t <a href="#"><img src ="D:\1 DREAM\PROJECT 2\IMGS/mail icon.png"/></a> 
 
\t \t \t <a href="#"><img src ="D:\1 DREAM\PROJECT 2\IMGS/stracture icon.png"/></a> 
 
\t \t 
 
\t \t </div> \t \t \t 
 

 
\t \t <div class ="secondpart"> 
 

 
\t \t \t 
 
\t \t \t <div class = "signage"> 
 

 
\t \t \t \t \t <a href="#"><img src ="D:\1 DREAM\PROJECT 2\IMGS/topimages.png"/></a> 
 

 
\t \t \t </div> 
 

 
\t \t \t <div class = "nav"> 
 

 
\t \t \t \t <ul> 
 
\t     
 
\t      <li><a href="#"> Home </a></li> 
 
\t      <li><a href="#"> Service</a> </li> 
 
\t      <li><a href="#"> Porfolio</a> </li> 
 
\t     <li><a href="#"> About</a> </li> 
 
\t     <li><a href="#"> Contact Us</a> </li> 
 
\t        
 
\t    
 
\t    </ul> 
 

 
\t \t \t </div> \t \t \t \t \t \t 
 

 
\t \t \t 
 

 
\t \t </div> \t \t \t \t \t 
 

 
\t \t 
 
\t <div class = "bigimage"> 
 

 
\t \t \t <a href="#"><img src ="D:\1 DREAM\PROJECT 2\IMGS/center image.png"/></a> 
 

 
\t </div> \t \t 
 

 
\t \t 
 
\t <div class = "treeparagh"> 
 

 
\t \t \t <div class = "firstparag"> 
 

 

 
\t \t \t \t <div class = "firstimage"> 
 
\t \t \t \t 
 
\t \t \t \t \t <a href="#"><img src ="D:\1 DREAM\PROJECT 2\IMGS/firstparagh.png"/></a> 
 

 
\t \t \t \t </div> 
 

 

 
\t \t \t \t <div class = "firsttitle"> 
 

 
\t \t \t \t \t <h1>FIRST PARAGPAH </h1> 
 

 
\t \t \t \t </div> \t 
 

 
\t \t \t \t <div class ="firstbody"> 
 

 
\t \t \t \t \t <p >Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy \t \t \t \t       text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has      survived not only five centuries, but also the leap into electronic typesetting,It was popularised in the 1960s with the      release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus      PageMaker including versions of Lorem Ipsum.</p> 
 
\t     <a href="#"> Read More </a> 
 

 
\t \t \t \t </div> 
 

 
\t \t \t </div> \t \t 
 

 

 
\t \t \t <div class = "secondparag"> 
 

 
\t \t \t \t 
 
\t \t \t \t <div class = "secondimage"> 
 

 
\t \t \t \t \t <a href="#"><img src ="D:\1 DREAM\PROJECT 2\IMGS/secondparagh.png"/></a> 
 

 
\t \t \t \t </div> 
 

 

 
\t \t \t \t <div class = "secondtitle"> 
 

 
\t \t \t \t \t <h1>SECOND PARAGHAP</h1> 
 

 
\t \t \t \t </div> 
 

 

 
\t \t \t \t <div class = "secondbody"> 
 

 
\t \t \t \t \t <p >Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy      text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has      survived not only five centuries, but also the leap into electronic typesetting,It was popularised in the 1960s with the      release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus      PageMaker including versions of Lorem Ipsum.</p> 
 
\t     <a href="#"> Read More </a> 
 

 
\t \t \t \t </div> 
 

 
\t \t \t </div> \t \t \t \t \t 
 

 
\t \t \t <div class = "thirdparag"> 
 
\t \t \t 
 
\t \t \t 
 

 
\t \t \t \t <div class = "thirdimage"> 
 

 
\t \t \t \t \t <a href="#"><img src ="D:\1 DREAM\PROJECT 2\IMGS/thirdparagh.png"/></a> 
 
\t \t \t \t 
 
\t \t \t \t </div> 
 

 

 
\t \t \t \t <div class = "thirdtitle"> 
 

 
\t \t \t \t \t <h1> THIS IS IT </h1> 
 
\t \t \t \t 
 
\t \t \t \t </div> 
 

 
\t \t \t \t <div class = "thirdbody"> 
 

 
\t \t \t \t \t <p >Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy      text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has      survived not only five centuries, but also the leap into electronic typesetting,It was popularised in the 1960s with the      release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus      PageMaker including versions of Lorem Ipsum.</p> 
 
\t     <a href="#"> Read More </a> 
 
\t 
 
\t \t \t \t </div> 
 

 

 
\t \t \t </div> \t \t \t \t \t \t \t \t 
 
\t \t \t 
 
\t \t 
 
     </div> 
 

 

 

 
\t </div> \t 
 
\t 
 
     \t \t \t 
 
\t   
 
      
 
      
 

 
</div> 
 
\t 
 

 

 
</body> 
 
</html>

ответ

Смежные вопросы