...

View Full Version : Buttons in IE versus Firefox



h8ids
01-20-2008, 10: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>

_Aerospace_Eng_
01-20-2008, 11:36 PM
Why not something like this?

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

felgall
01-21-2008, 01:19 AM
OR


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

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

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum