View Full Version : Display submit button as a link using css?
Pompiuses
07-25-2005, 01:25 PM
Is it possible to display a submit button in a form as a regular link? I'm not allowed to use Javascript, so it has to be done in CSS.
Thanks :)
mark87
07-25-2005, 01:48 PM
You don't need to use CSS... or rather you can't with CSS - because CSS is for defining how it looks. You do need to use Javascript -
<a href="#" onclick="this.submit()">Submit</a>
Unless you want to style a button so it looks like a link?
.submitLink {
background-color: transparent;
text-decoration: underline;
border: none;
cursor: pointer;
cursor: hand;
}
<input type="submit" class="submitLink" value="Submit">
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.