Here is how it looks from my source filesКнопка имеет странную границу вокруг него, как мне от нее избавиться?
And here is how it looks from where it is hosted
Очевидно много плохого с ним, но одна вещь, я больше всего беспокоит то, что граница вокруг синей кнопки.
Вот код HTML для каждой кнопки.
Синяя кнопка
<a href="#" ><button class="btn" type="button">View The Line Up</button></a>
Серый Кнопка
<a href="#" ><button class="btn2" type="button">View The Line Up!</button></a>
и CSS.
Синяя кнопка
.btn {
-webkit-border-radius: 28;
-moz-border-radius: 28;
border-radius: 28px;
font-family: Arial;
color: #ffffff;
font-size: 14px;
background: #358cb1;
padding: 10px 30px 10px 30px;
text-decoration: none;
float: left;
margin-top: 20px;
}
.btn:hover {
background: #3cb0fd;
text-decoration: none;
}
Серый Кнопка
.btn2 {
-webkit-border-radius: 31;
-moz-border-radius: 31;
border-radius: 31px;
font-family: Arial;
color: #000000;
font-size: 14px;
padding: 10px 30px 10px 30px;
border: solid #000000 1px;
text-decoration: none;
float: left;
margin-top: 20px;
margin-left: 20px;
}
.btn2:hover {
background: #acb0b3;
text-decoration: none;
}
Почему вы обертываете '' в теге ссылки 'a'? –
Не нужно использовать тег 'Button' с тегом' a ', вы можете просто применить все свойство css на теге' a', который вы использовали на теге 'button' –