Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script error with IE8?
#7
(10-13-2009, 02:31 AM)DAMINK™ Wrote:
PHP Code:
if ($size == "a4") echo "<a href='processor1.php'><input type='button' action='/' name='Process Order' id='Process' value='Back'></a>"

Yes the errors is within those lines, for IE this is an invalid code and IE doesn't know what to do with it.
I either recommend you to use <a> and style it with css as an button or to use only button, both are not good, not even for FF even tought it works.

I still recommend using the anchor tag only and put <img> of the button or use <div> inseda of <a> and style it with css
Code:
background:rgb(212,208,200);
border-top:2px solid rgb(255,255,255);
border-left:2px solid rgb(255,255,255);
border-right:2px solid rgb(128,128,128);
border-bottom:2px solid rgb(128,128,128);

edit:
You shouldn't insert <input> inside <a> tags, that's the same as
Code:
<a href="1.htm"><a href=2.htm">What to do!</a></a>
Reply


Messages In This Thread
Script error with IE8? - by DAMINK™ - 10-13-2009, 02:31 AM
RE: Script error with IE8? - by Gaijin - 10-13-2009, 02:34 AM
RE: Script error with IE8? - by DAMINK™ - 10-13-2009, 02:36 AM
RE: Script error with IE8? - by immi - 10-13-2009, 02:38 AM
RE: Script error with IE8? - by DAMINK™ - 10-13-2009, 02:41 AM
RE: Script error with IE8? - by immi - 10-13-2009, 02:47 AM
RE: Script error with IE8? - by Gaijin - 10-13-2009, 02:52 AM
RE: Script error with IE8? - by DAMINK™ - 10-13-2009, 02:52 AM
RE: Script error with IE8? - by Gaijin - 10-13-2009, 03:03 AM
RE: Script error with IE8? - by DAMINK™ - 10-13-2009, 03:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  php form script with upload script help andrewjs18 4 2,873 10-07-2010, 11:46 AM
Last Post: JMK940

Forum Jump:


Users browsing this thread: 1 Guest(s)