Scripsit shapper:
Quote:
Originally Posted by
1. An input (type="submit") button that submits a form.
|
Fine.
Quote:
Originally Posted by
2. An anchor that cancels the form submission and redirects the user
to a page.
|
Huh? There is nothing to be cancelled. You just have a link, and when a
user follows the link, he at least temporarily leaves the linking page.
Any link will do that.
Quote:
Originally Posted by
I am trying to make both look the same having a padding a background
color.
|
Why should they look similar when they do quite different jobs?
(Besides, making a link and a button look the same is a rather desperate
effort. Both of them may have all kinds of default rendering features.)
If you make the link look like a button, people will mistake it as a
Reset button (effectively, "destroy form data" button), and if they know
how such buttons almost always "work", they will avoid them like plague.
Once in a decade, they will click on it and expect it to reset all form
fields to their initial values.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/