Есть два меню, одно меню сверху, другое снизу. Верхнее реагирует на наведение курсора отображением фона прописанного в css, а нижнее должно реагировать выводом картинки (кнопки). В итоге нижнее наследует отображение фона, прописанное для верхнего.
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
I159
Есть два меню, одно меню сверху, другое снизу. Верхнее реагирует на наведение курсора отображением фона прописанного в css, а нижнее должно реагировать выводом картинки (кнопки). В итоге нижнее наследует отображение фона, прописанное для верхнего.
body {
background-color: #FFFFFF;
background-image: url("tree.png");
background-repeat: no-repeat;
background-position: 20px 125px;
}
#logo
{
position: relative;
top: 10px;
left: 30px;
height: 95px;
width: 220px;
}
#buttonfeald
{
position: absolute;
top: 45px;
left: 300px;
width: 711px;
height: 60px;
z-index: 1;
}
ul
{
position: absolute;
top: 37px;
left: 271px;
font: bold 12pt sans-serif;
z-index: 3;
}
ul li
{
list-style:none;
float: left;
}
ul li a {
display: block;
width: 150px;
height: 24px;
padding: 10px 8px 8px 8px;
text-align: center;
border: 1px solid #f1f6ce;
}
ul li a:hover {
/*background: url('button2.png') no-repeat;*/
border: 1px solid #e1ed81;
background: #ecf3b4;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
/*text-shadow: 1px 1px 1px #fff*/
}
a
{text-decoration: none;}
#area
{
position: absolute;
top: 125px;
left: 300px;
height: 600px;
width: 700px;
}
#big
{
position: absolute;
top: 800px;
left: 280px;
}
#big1
{
position: absolute;
top: 875px;
left: 280px;
}
ul#bottom-menu
{
position: absolute;
top: 390px;
left: 271px;
font: bold 14pt sans-serif;
z-index: 3;
}
ul#bottom-menu li
{
list-style:none;
float: none;
}
ul#bottom-menu li a {
display: block;
width: 150px;
height: 24px;
position: relative;
top: 385px;
left: 15px;
border: 20px;
z-index: 4
}
ul#bottom-menu li a
{
display: block;
width: 200px;
height: 50px;
padding: 23px 0px 0px 0px;
text-align: center;
}
ul#bottom-menu li a: hover
{
background: url('active_big.png') no-repeat;
}
#footer
{
position: absolute;
left: 0px;
top: 1000px;
height: 80px;
width: 1010px;
}
Link to comment
Share on other sites
0 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.