You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
kent666
Помогите пожалуйста! У меня в верстке наслаиваются дивы друг на друга!!! <div id="bottom"> налазиет на <div id="container">
Как это исправить код
и CSS
* {
margin: 0;
padding: 0;
}
BODY {
background: #C9C2C2;
}
#layer {
width: 1000px;
background: aqua;
}
#top {
width: 1000px;
height: 200px;
border: 2px #000000;
background: #FFFF99;
}
#menu {
margin: 5px 50px 5px 50px;
border: 2px #000000;
background: #CCFFCC;
}
#menu ul { margin:0; padding:0;}
#menu ul li{ display:inline-block; float:left; width:150px; list-style:none; text-align:center;}
#menu a { display:block; float:left; width:145px; font-size:12px; text-transform:uppercase; text-decoration:none; color:#FFFFFF; text-decoration:none; font-weight:bold }
#menu a:hover {color:#68d3ed;}
#container{
background: #FFFFFF;
display:block;
}
#left{
background: #00CCFF;
width: 150px;
margin: 5px;
float: left;
}
#left ul { margin:0; padding:0;}
#left ul li{float:left;}
#left a { display:block; float:left; width:104px; font-size:12px; text-transform:uppercase; color:#FFFFFF; text-decoration:none; font-weight:bold }
#left a:hover {color:#68d3ed;}
#right{
background: #FF99CC;
width: 830px;
margin: 5px;
float: right;
}
#bottom{
margin: 10px;
background: #C0C0C0;
}
#bottom ul { margin:0; padding:0;}
#bottom ul li{ display:inline-block; float:right; width:150px; list-style:none; text-align:center;}
#bottom a { display:block; float:left; width:145px; font-size:12px; text-transform:uppercase; text-decoration:none; color:#FFFFFF; text-decoration:none; font-weight:bold }
#bottom a:hover {color:#68d3ed;}
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.