linked buttons

G

guy

I've got the following piece of html in one of my pages:

<p align="right"><a href="ES_MP_2004-06-02.htm"><input type="button"
value="<< Previous" name="B1"></a><a href="ES_MP_2004-06-04.htm"><input
type="button" value="Next >>" name="B2"></a></p>

Which works fine if I use a Firefox browser to click the buttons but doesn't
work with IE.

Any idea how to change this so that it works for IE as well?

Thanks
 
T

Thomas A. Rowe

Is this surrounded by form tags, since you are using form elements?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Thomas A. Rowe

Also change your code to be like:

<p align="right"><a href="ES_MP_2004-06-02.htm"><input type="button"
value="<< Previous"></a><a href="ES_MP_2004-06-04.htm"><input
type="button" value="Next >>"></a></p>


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

guy

Hi Thomas,

No I didn't have it surrounded by <form> tags which I've tried but that
didn't help. I also tried dropping the name attribute but that didn't help
either, and then I tried <form> tags and dropping the name attribute but
again no joy.

Strange that Firefox doesn't have a problem with it though isn't it?

So can you not just plonk a button on a page without having a <form> tag
around it?

Here is the page on the web in case you want to see it working with Firefox
and not working with IE:
http://www.deltat1.com/mp/gr/es/ES_MP_2004-06-03.htm

Thanks for your help.
 
T

Thomas A. Rowe

When you insert a form element is need to have the form tags. You can also try changing the button
to a submit button. However the best solution is to create a image for each button and then
hyperlink it.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

guy

Your best solution was a good one. I've implemented that. Thanks for your
help and advice Thomas. :)
 
Top