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
m-alberta
Уважаемые знатоки, здравствуйте.
Пытаюсь выравнять текст меню по центру, но пока не получается.
Может ли кто-нибудь помочь?
На меню можно посмотреть здесь:
http://www.marssel.org/rus/
На данный момент прописаны такие стили:
#menu ul {
background-image:url(../images/menu.png);
width:962px;
height:52px;
margin:0 auto;
background-repeat: no-repeat;
overflow:hidden;
clear:both;
}
#menu ul li {
background-image:url(../images/sep.png);
background-position: right;
background-repeat: no-repeat;
width:112px;
height:50px;
margin-right:-2px;
display: block;
float:left;
}
#menu ul li a {
width:109px;
height:52px;
padding:0;
margin:0;
padding-top:14px;
color:#8b8a88;
font-size: 14px;
text-decoration: none;
display: block;
text-align: center;
outline: 0;
float:left;
}
#menu ul li a:hover, #menu ul li a.hover {
width:109px;
height:50px;
padding-top:14px;
font-size: 14px;
text-decoration: none;
display: block;
outline: 0;
background-image:url(../images/light3.png);
background-position: top center;
background-repeat: no-repeat;
color:#FFF;
float:center;
}
#home {
margin-bottom: 300px;
Что тут нужно изменить?
Спасибо
Edited by alexrizОформляйте код в тег CODE!!!
Link to comment
Share on other sites
3 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.