That's a good question. I'm not sure what is the right answer to your question. I'll do some investigation and get back to you if I find an decent answer. You should email the people at iPage as they probably could answer your iPage question..
No; actually it should look something like this:.
<input type="image" width="200" height="25" alt="My Page Link" src="img.gif" onclick="location.href='mypage.htm'">.
But chances are the o/p is using an image wrapped.
In an anchor but failed to close the anchor.
<a href=""></a> will do the same as the onclick!?!?.
What I put in the code was at least the basics... since he hasn't shown us any code... this will give him a head start without giving him the whole thing!..
It may work but it doesn't make it right!.
Ya'll can do it anyway you want but at least use the.
Attribute in the image tag for accessibility..
BTW: As I originally suggested..
If the o/p would provide the pertinent codes.
We wouldn't need to be sitting here quessing...
It looked like this..
<a href="c:pachegrouppache\htdocs\start.html"><img src="c:pachegrouppache\htdocs\Iconsolder01.ico"></a>.
But I will try your suggestions..
I think the least of his problems right now are accessibility issues... let's try if the basic code works!..
Can we view the page? or even if you can make a print screen of it? I'm pretty sure it's your image...ico. Should be a .gif, .jpg or a .png.
Looks like he is working on an Intranet.
Or possibly an Active Desktop Application..
But from what code he posted. It should not be.
Displaying the path unless somewher he forgot a quote..
What made you say that? it has nothing to do with a form. they said link, the text part of a link. that my friend is not a link but a button. so karinne had it right..
Now dvdljns, what did the code look like befroe you posted that code?..
No, I had it right. An anchor is meant as a.
If you want to use an image as an input. What I posted is the correct way. However you can use the anchor hack if that is what you choose..
BTW: There is no form in my example..
However if used in a form it would be a submit()..
An anchor tag is text input? where did you learn that..
Also to note on your input type=image, that will only work in a form and will not show in NS as it deosn't show any form elements unless the form tag is there. hence <input> that is a form element.
An anchor tag is a text link, not an input. I think you are backwards..
A text link.
An ahcor tag..
Now consider a text link, as it's name implies, has a link to it, thus a anchor tag is a link...
Sorry but I just had to chuckle at the way you put that.
All the poor chap was after was a simple image link which karinne provided, he wasn't after inputting anything..
LMAO, I'm sorry but I just.
To reply to this one..
Im sorry dvdljns, god knows what you must be thinking about us all lol. were not bad really.
<a href="something/something.html"><img border="0" src="image.ico"></a> is all you need..
Yes, obviously I meant to say link..
And using an image as you are is a hack..
What happens to your active, visited and hover colors?.
You'll what, look for another hack to remove the border?.
No where does the W3C provide for using an image as you are..
An anchor is meant for.
You can find the correct way to use an image as a link.
BTW: As for the rest of you. Chuckle all you want..
The work I produce validates with tommorrows standards in mind..
Unlike the poor examples using outdated standards I usually see posted here..
And which ya'll seem to promote as acceptable..
It's ironic that those living in the past would.
Percieve tommorrows standards as backwards. [slap]..
*ducks as large ball of flame flies over head*.
I better stay outta this one!..
Thanks! what I had to do is change the .ico to a gif and move it out of the icon folder. I guess if the image does not show up for some reason it shows a text link to the page..
Good to know since some people still navagate the web using text browsers..
I got such a great responce from this post I am saving the page that this post is on. I am betting I just got some future questions answered too...
Ones enough, none is even better, please keep your posts on topic or they will deleted - Thanks. Ian..
Ahem, the link you gave was to html 3.2, we are on 4.01.
No where in w3, how about.
Please keep the discussion constructive people..
Bah! you were in the IRC chat too!.
Dont deny it!.
This chatroom is really degrading out post quality.
What a party pooper!..
By the way Willy.... theres a thread in the Lounge about Thanksgiving, wouldnt that be the most appropriate place to have posted that...
You get paid for this.
Check out the first error on line 60..
What do you think caused that?.
If the link was outdated. Update the link yourself..
Newer standards still aren't going to help your position...
Yes, I'll concede to the use of the anchor in the context you presented..
It must be used in the context of an.
Not as a standalone property of the anchor tag..
Ahhh, let the kids play. Someday they'll grow up and not.
Have to eat turkey at the.
Table and then they'll.
Learn to rationaly discuss opposing positions...
This shows your use of the image as an anchor and it fails to validate...