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
kastahhls
Здравствуйте!
Есть такой код
вот стили к нему:
.topmenu { display: block; list-style: none; margin-top: 40px; padding: 0; position: absolute; top:105px; z-index: 65;}.topmenu ul { list-style: none; margin: 0; padding: 0;}.topmenu > ul > li { float: left;}.topmenu > ul > li a { display: block; text-decoration: none; color: black; border-top: 1px solid transparent; border-left: 1px solid transparent; border-right: 1px solid transparent;}.topmenu > ul > li a:hover{ color: #fff; text-decoration: none; background: url('../image/bg_top_part-blue.png') 0 0 repeat-x; border-top: 1px solid #00b7f5; border-left: 1px solid #006b8f; border-right: 1px solid #006b8f; border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; -khtml-border-radius: 4px 4px 0 0;}.topmenu > ul > li a.active { color: #fff; text-decoration: none; background: url('../image/bg_top_part-blue.png') 0 0 repeat-x; border-top: 1px solid #00b7f5; border-left: 1px solid #006b8f; border-right: 1px solid #006b8f; border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; -khtml-border-radius: 4px 4px 0 0;}.topmenu li a span { display: block; padding: 11px 17px;}но при нажатии, к примеру на главную, не получается сделать чтобы кнопка была активной
Помогите, плиз!
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.