View Full Version : Buttons in IE versus Firefox

01-20-2008, 11:41 PM
Why won't the following work in IE? ( I have tried placing it in a form tags. )

<a href="dbview.php" style="text-decoration: none"><input type="button" name="GO" id="GO" value="Submit" /></a>

I've only been able to get the following text link to work.

<a href="dbview.php" style="text-decoration: none">Click here to view entries.</a>

01-21-2008, 12:36 AM
Why not something like this?

<form action="dbview.php" method="post"><input type="submit" name="GO" id="GO" value="Submit" /></form>

01-21-2008, 02:19 AM

<a href="dbview.php"><button>Click here to view entries.</button></a>

01-21-2008, 06:53 PM
Or be nicer to the validator and style the anchor to look like a button? =P

01-21-2008, 09:08 PM
Or be nicer to the validator
Both solutions provided are valid code

01-21-2008, 09:16 PM
Presuming XHTML, the latter isn't