这在IE中不起作用:
.text-button { background: transparent; text-decoration: none; cursor: pointer; } <input type="submit" class="text-button" value="vote+"/>
它显示一个方形按钮。
从此链接复制后,您可以使按钮看起来像一个链接-
.submitLink { background-color: transparent; text-decoration: underline; border: none; color: blue; cursor: pointer; } submitLink:focus { outline: none; } <input type="submit" class="submitLink" value="Submit">