iGuest 3 Report post Posted October 8, 2007 (edited) 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 <a href="http://http://110mb.com/404.php; target="_blank"><input type="image" height="27" width="139" src="http://http://110mb.com/404.php; /></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. Edited October 9, 2007 by truefusion (see edit history) Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 8, 2007 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://www.w3schools.com/tags/tag_input.asp http://www.w3schools.com/tags/tag_a.asp Share this post Link to post Share on other sites
rvalkass 5 Report post Posted October 9, 2007 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: <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: <a href="http://www.110mb.com/404.php; target="_blank"><img src="http://www.110mb.com/404.php; 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. Share this post Link to post Share on other sites
iGuest 3 Report post Posted October 10, 2007 (edited) 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: <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: <a href="http://http://www.110mb.com/404.php; target="_blank"><img src="http://http://www.110mb.com/404.php; 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 Zerohttp://www.110mb.com/404.php Edited October 10, 2007 by Dark Zero (see edit history) Share this post Link to post Share on other sites