html - Creating a button that links to the host root -
i have config page (/config) couple of inputs, , want "back"-arrow @ bottom, points startpage
i found out can wrap button in a-tag create link (it works on startpage as
<a href="/config" class="link"><button class="control link">conf</button></a>
)
but inside config page,
<a href="/" class="link"><button class="control backlink">back</button></a>
doesn't work, , don't know why. statusbar shows link correctly, when click, nothing happens. if click on outermost edge of element (just 1px outside button-image), work, guess there's wrong wrapping button a. strangely work on startpage.
can explain please?
you can try below like
<a href="www.yoursite.com" class="link"><button class="control backlink">back</button></a>
replace / page link. may www.yoursite.com/index.html
Comments
Post a Comment