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
rolph
Есть менюшка, которая в div'e:
Её стиль:
.menu {-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:#333333 none repeat scroll 0 0;
height:40px;
margin:0 auto;
position:relative;
width:1000px;
}
.menu ul {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent none repeat scroll 0 0;
list-style-type:none;
margin:0;
padding:0;
}
.menu ul li {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent none repeat scroll 0 0;
color:#FFFFFF;
display:block;
float:left;
line-height:160%;
margin:0;
padding:0;
position:relative;
}
.menu ul li a, .menu ul li a:visited {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent none repeat scroll 0 0;
border-right:1px dashed #666666;
color:#999999;
display:block;
font-size:100%;
line-height:160%;
padding:10px 20px;
text-align:center;
text-decoration:none;
text-transform:uppercase;
}
.menu ul li a:hover {
color:#FFFFFF;
}
.menu ul li.active a {
color:#FFFFFF;
}
Сейчас получается, что менюшка равняется и съезжает влево:
Можно ли средствами css выравнять равномерно по всему div'у?
Link to comment
Share on other sites
14 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.