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
pav8909
имеется следующий код
CSS:
.block1 .menu33 {margin-left: -12px;}.block1 .menu33 ul li {list-style-type: none; float: left; background: url(../вертикальная полоска) right center no-repeat;}
.block1 .menu33 ul li a {color: #cc3333; float: left; margin: 6px 12px 6px 12px; text-decoration: none; border-bottom: 1px dashed #cc3333;}
.block1 .menu33 ul li:hover a{color: #996666; font-weight: bold; border-bottom: 1px dashed #996666;}
Нужно сделать так, чтобы при наведении курсора на ссылку она не дергалась по ширине.
пробовал сделать у ссылки a {padding: 0 3%;} и a:hover {padding: 0} - текст переносится на 2 строки, если текст ссылки больше 1 слова.
пробовал еще много чего, но все бес толку.
Link to comment
Share on other sites
4 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.