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
_Tornado_
Здравствуйте!
Есть горизонтальное меню, перед одним из пунктов должна быть иконка. Вывод:
стили:
div.main_menu {
font-size:13px;
font-weight:bold;
line-height:16px;
background:#cfc9ab url(img/menu_bg.gif) repeat-x left bottom;
}
div.menu_pos {
padding:0px 0px 14px 0px;
}
div.main_menu a {
color:#130f0b;
text-decoration:none;
margin:0px 10px 0px 23px;
height:20px;
padding-top:7px;
float:left;
}
div.main_menu a:hover {
padding-top:4px;
border-top:3px solid #A66452;
}
div.main_menu a.on{
padding-top:4px;
border-top:3px solid #A66452;
}
div.main_menu .icon {
background:url(img/lock.gif) no-repeat;
border:0px;
width:12px;
}
Иконка лезет на текст.
Вопрос: как сделать отступ между иконкой и текстом? Помогите, пожалуйста)
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.