Dodona gives you answers

Archive for May 2010

How do I make a submit button look like a link?

with one comment

To make a submit button of an HTML form look like a link, simply use this code:

HTML:
<button type="submit" class="submit">
Submit <img src="link/to/an/image/if/you/want.gif" />
</button>

CSS:
.submit {
background: none;
margin: 0;
padding: 0;
border: none;
cursor: pointer;
font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
font-size: 13px;
line-height: 16px;
color: #000000;button {
overflow: visible;
width: auto;
}
}

Link: Styling buttons to look like links

Advertisements

Written by lutsen

May 4, 2010 at 3:10 pm

Posted in Web