|
|
|
|
![]() ![]() |
Oct 8 2007, 08:20 PM
Post
#1
|
|
|
Newbie [Level 2] ![]() ![]() Group: Validating Posts: 25 Joined: 8-October 07 Member No.: 51,330 |
could some one help with this code. I have been working on this for the past hour trying to get it to work. this is the first time i have had problem with writing html code.
the code i need help with is HTML <a href="http://www.darkzone3.110mb.com/contact.php" target="_blank"><input type="image" height="27" width="139" src="http://www.darkzone3.110mb.com/buttons/contact.png" /></a> for some reason on my page it want work at all it want even open it the same page. What i'm trying to do with the code is a page in a new window using an image as a link. This post has been edited by truefusion: Oct 9 2007, 01:40 AM |
|
|
|
Oct 8 2007, 08:45 PM
Post
#2
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,994 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
Wrapping an Anchor tag around an Input tag is just Waaaayyyyyy WRONG!!!!!
Explain to the nice people what you are trying to do and someone will assist you. http://w3schools.com/tags/tag_input.asp http://w3schools.com/tags/tag_a.asp |
|
|
|
Oct 9 2007, 05:56 AM
Post
#3
|
|
|
apt-get moo ![]() Group: [MODERATOR] Posts: 2,114 Joined: 28-May 05 From: Hertfordshire, England Member No.: 7,593 ![]() |
I am not sure why you have made the image an input? I'm not even sure that is valid. Anyway, the proper way to make an image appear is like so:
HTML <img src="path/to/image/file.png" width="##" height="##" alt="Text if the image can't be displayed" /> So, this would make your code become: HTML <a href="http://www.darkzone3.110mb.com/contact.php" target="_blank"><img src="http://www.darkzone3.110mb.com/buttons/contact.png" height="27" width="139" alt="Alt text needed here" /></a> Let us know if that works, and if that is what you are looking for. |
|
|
|
Oct 10 2007, 08:37 PM
Post
#4
|
|
|
Newbie [Level 2] ![]() ![]() Group: Validating Posts: 25 Joined: 8-October 07 Member No.: 51,330 |
I am not sure why you have made the image an input? I'm not even sure that is valid. Anyway, the proper way to make an image appear is like so: HTML <img src="path/to/image/file.png" width="##" height="##" alt="Text if the image can't be displayed" /> So, this would make your code become: HTML <a href="http://www.darkzone3.110mb.com/contact.php" target="_blank"><img src="http://www.darkzone3.110mb.com/buttons/contact.png" height="27" width="139" alt="Alt text needed here" /></a> Let us know if that works, and if that is what you are looking for. Thanks it worked. And that was just what i was looking for. I dont know why i could not figure that one out. Any ways thanks for the help. -------------------- Dark Zero www.darkzone3.110mb.com This post has been edited by Dark Zero: Oct 10 2007, 08:37 PM |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 6th September 2008 - 07:12 PM |