jamesfed
|
Hi all,
Im trying to make a button act like a hyperlink (so when the user clicks the button they are directed to a webpage) however I just can't seem to get the code right.
I am using the css button genrator from - http://www.iwebtoolsonline.com/html-and-css-rounded-corner-button-generator
The images/css apply correctly when I use the code from the genrator I just need to know where to put the code for the hyperlink.
Thanks,
James
|
|
jamesfed
|
Scratch that last one! - found out I was missing a '
Code in the end was-
<button class="rounded" onclick="window.location='http://rosesvilla.recommendmeapc.co.uk/?page_id=9'">
<span>Gallery</span>
</button>
|
|
Garry
|
You can insert theme matching buttons as following:
<a class="art-button" href="www.yoursite.com">Text on button</a>
|
|