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
Nailya
Все привет!
У меня проблема с меню(#menu) в ie6: при наведении курсора на меню появляется ненужный отступ снизу,
а надо чтобы и меню было плотно прижато к нижней границы #header,
и при наведении курсора кнопка также увеличивалась снизу(menu a{padding:2px 20px 0;}),
наезжая на границу
html,body{
height:100%;
background:#545c66;
}
body{
font-size:small;
font-family:Helvetica, Arial, sans-serif;
}
#container{
width:800px;
background-image:url(pic/bg.png);
margin:0 auto;
min-height:100%;
position:relative;
}
#main{
width:600px;
background:#fff;
margin:0 auto;
}
#all{
padding:0 0 90px;
overflow:hidden;
}
#footer{
width:600px;
margin:0 0 0 100px;
height:90px;
background:#535961;
position:absolute;
bottom:0;
}
#header{
width:600px;
margin:auto;
height:120px;
border-bottom:1px solid #ccc;
background:#535961;
}
#header-inner{
overflow:hidden;
}
#logo{
float:left;
position:relative;
left:10px;
top:10;
width:160px;
height:80px;
background:url(pic/logo4.gif) no-repeat 100% 10%;
}
#logo:after{
content:'обучение системному администрированию';
display:block;
color:#94938f;
position:relative;
left:30px;
top:50px;
font-size:.9em;
}
#menu{
margin:95px 0px 0 160px;
}
#menu li{
float:left;
background:#757a98 url(pic/left.png) no-repeat 100% 0;
margin-right:5px;
}
#menu a{
padding:2px 20px 0;
line-height:25px;
text-transform:uppercase;
text-decoration:none;
color:#e1e5ff;
font-style:none;
font-weight:bold;
}
#menu li a:hover{
display:inline-block;
color:#79786e;
background:#d7d9dc;
}
Link to comment
Share on other sites
2 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.