Solved

Why will this not work?

Posted on 2003-11-25
4
218 Views
Last Modified: 2011-09-20
<CENTER><table>
<tr>
<td align=left valign=top><br><a href="surveyP1.asp"><input type="image" src="but_back.gif" alt="back"></a></td>
<td align=right valign=top><br><input type="image" src="but_next.gif" alt="Submit changes"></td>
</tr>
</table></CENTER>

when I hit the back button it does not go to surveyP1.asp......why?

When I hit the submit buton it goes to the next page, but how does it know this as I did'nt specify the URL?
0
Comment
Question by:PieP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 17

Expert Comment

by:dorward
ID: 9816797
You can't put inputs inside links. Try:

<a href="surveyP1.asp"><img src="but_back.gif" alt="back" style="border-style: none;"></a>

(And as for the submit button, I'm guessing you did specify it (in the correct place - the <form> action attribute) but didn't copy that code across.)

(and an external style sheet is preferred for the CSS in there)
0
 

Author Comment

by:PieP
ID: 9816840
That's great thanks...

What do you mean when you say:
(and an external style sheet is preferred for the CSS in there)

Can you give me an example?
0
 
LVL 8

Expert Comment

by:xabi
ID: 9816846
Hi PieP,

1.-

You must use a "<img src ..... this way:
<td align=left valign=top><br><a href="surveyP1.asp"><img src="but_back.gif" alt="back"></a></td>

2.- Cause it's a <input type="image" ....

xabi
0
 
LVL 17

Accepted Solution

by:
dorward earned 25 total points
ID: 9816867
img { border-style: none; } in the style sheet perhaps. Depends on circumstances.

<http://dorward.me.uk/www/css/#tutorials> might be of use.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to calculate height of a text using jquery 3 55
Anyone familiar with PhotoSwipe? 3 40
CSS for <center> 14 48
Need advice on an App idea......but who do I ask? 2 69
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question