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
alfaq
Здравствуйте, суть проблемы:
есть меню
его стиль
.mainmenu {
height: 50px;
background-color: #003362;
border-radius: 20px 20px 0 0;
}
.mainmenu ul {
padding-left: 20px;
margin-top: 0;
}
.mainmenu ul li{
list-style: none;
display: block;
float: left;
padding: 0 15px 0 15px;
height: 50px;
background: url(../images/tab.jpg) 0 50% no-repeat; /* картинка разделитель*/
}
.mainmenu ul li a{
color: #FFF;
font-size: 16pt;
}
.mainmenu ul li:first-child{
background: none;
}
в результате получается
как видно на изображении проблема опустить сами ссылки ниже (при этом, что бы фон-разделитель остался на своём месте)
пробывал так
.mainmenu ul li a{color: #FFF;
font-size: 16pt;
padding-top: 15px
}
может есть какое-то другое решение?
Edited by alfaqLink 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.