Jump to content
  • Sign Up

Сделать ссылку не из текста, а из кнопки


Recommended Posts

Как видно на фото, ссылка доступна только по тексту, а если нажать на саму кнопку-ничего не происходит. Помогите, пожалуйста, исправить это, код прилагается:

<div id="connect" class="connect-header" bis_skin_checked="1">
    <button type="button" style="
    display: inline-block;
    background: #00aeff;
    color: white;
    width: 100%;
    height: 50px;
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    margin-top: 5px;
"><a href="http://aqua-pure.pp.ua/index.php?route=information/contact"><i class="material-icons" style="
    color: white;
">call</i><span style="
    color: white;
">Оставить заявку</span></a></button><a href="http://aqua-pure.pp.ua/index.php?route=information/contact">
    </a></div>

 

Screenshot_7.png

Link to post
Share on other sites

выравнивайте его
способов несколько
горизонтально поможет text-align
вертикально vertical-align с бубном или по простому отступами можно

  • Thanks 1
Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Member Statistics

    46,974
    Total Members
    1,451
    Most Online
    Morwinus
    Newest Member
    Morwinus
    Joined
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...