как я могу сделать небольшую кнопку (ссылку) с видом окна выхода? здесь мой код:
.info {
width: 100%;
background-color: #3498db;
padding: 10px;
color: #fff;
}
.info a {
color: #fff;
border: 2px solid #fff;
height: 16px;
width: 16px;
text-decoration: none;
font-weight: bold;
}
и html:
<div class="info">
This page is just at the building phase! It doesn't work all Features yet!
<a href="hide">x</a>
</div>
но посмотрите self..horrible: ссылка
как я могу сделать это хорошо?
может быть:
width:20px;
height 10px;
border: 1px solid #fff;
color: white;
padding-left: 10px;
padding-top: 4px;
font-size: 16px;
line-height: 0px;
Работа?
Попробуйте этот код:
.info a {
color: #fff;
font: bold 11px Arial;
text-decoration: none;
padding: 2px 6px 2px 6px;
border-top: 1px solid #CCCCCC;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
border-left: 1px solid #CCCCCC;
}