Link to home
Start Free TrialLog in
Avatar of pnoeric
pnoericFlag for United States of America

asked on

Stupid IE won't let my link a <button> --??

Grr. Firefox, Safari and Chrome all do fine with this code; click the button and go to Yahoo. IE just sits there like an idiot.

Is there any way to make this work? My site has all these fantastic CSS-styled buttons that I want to use like this... it's all flawless. Except for stupid IE.
<html><body>

<a href='http://yahoo.com'>
   <button type='button' alt='go to Yahoo'>go to Yahoo</button>
</a>

</body></html>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of jrtwig
jrtwig

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pnoeric

ASKER

So there's no way to get my code that I posted to work? (I'd prefer to not use onclick, for other reasons, if possible.)
Avatar of pnoeric

ASKER

(For example: I can't add "target='_new'" to a <button> tag...)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial