I have a php site. I have a flat file for reading selections to dynamially build up a menu. Only problem I now have is that the link to load the next page does not work.
echo "<tr><td>$chunk[2]</td><td>$chunk[3]</td><td><a href= \"$chunk[4]\"><input type=\"submit\" class=\"input\" value=\"View Details\"/></a></td></tr>";
The line above does not display too well in here, so i have cut it down into 5 lines below. In my code though it is all on one line. [just pointing this out]
echo "<tr><td>$chunk[2]</td>";
echo "<td>$chunk[3]</td><td>";
echo "<a href= \"$chunk[4]\">";
echo "<input type=\"submit\" class=\"input\" value=\"View Details\"/>";
echo "</a></td></tr>";
My text file is:
dogs|animals|shelter|owner|dog1.php
I have since removed the following line, whihc resolved the issue
<input type=\"submit\" class=\"input\" value=\"View Details\"/>
I have other buttons on the site which for consistency, I would like to keep the same.
Any idea why IE does not like this, or is there a way to fix this?
my CSS:
.input:hover { background: #D8A96E; }
.input:active { color:#D8A96E; }
.input {
border: 1px #48561D;
border-style:inset;
background: #778E30;
width: 100px;
color: #FFFFFF }
Do you imply that this works in other browsers? I would be surprised.
For a quick fix, change the
<a>tag into a<form>tag, like this: