I'm making an admin page for my plugin and I'd like to make a text link designed like the form button of admin pages.
I tried this but didn't work well.
<a href="" cless="button-primary" style="line-height: 2em; border-color: #298CBA; font-weight: bold; color: white; background: #21759B url(../images/button-grad.png) repeat-x scroll left top; text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;">Submit</a>
I also tried just putting a submit button, expecting that the page goes to the url in the action attribute.
<form action="$url" target="_self"> <input type="submit" class="button-primary" value="Submit" /> </form>
Does anybody know how?