justAnoob Posted April 10, 2009 Share Posted April 10, 2009 my href doesn't work. i don't see the problem. do you? <?php echo '<div id="apDiv10"><a href="xxxxxxxxxxx.php"><img src="images/picture.png" width="91" height="20" /></a></div>'; ?> Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/ Share on other sites More sharing options...
jackpf Posted April 10, 2009 Share Posted April 10, 2009 Can you not elaborate a little on "doesn't work" ? Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/#findComment-806501 Share on other sites More sharing options...
justAnoob Posted April 10, 2009 Author Share Posted April 10, 2009 Sorry, you know when your link works properly, you get the cursor change to that little hand.. It is not changing for me,, just stays as the arrow cursor. Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/#findComment-806507 Share on other sites More sharing options...
jackpf Posted April 10, 2009 Share Posted April 10, 2009 I'd hardly call that not working... But still, you could try this in your css: #apDiv10 { cursor: pointer; } Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/#findComment-806510 Share on other sites More sharing options...
mrMarcus Posted April 10, 2009 Share Posted April 10, 2009 this is definitely not PHP .. check the <div id="apDiv10"> .. #apDiv10 might have a cursor reset or something .. other than that, i'd'unno. Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/#findComment-806511 Share on other sites More sharing options...
justAnoob Posted April 10, 2009 Author Share Posted April 10, 2009 Ummm,,, yeh.... Basically the link doesn't work when I click on the picture.... It just stays at the same page... My page does not recoginize that the picture is a link.. Something is wrong with the one line that I posted... But can't find what it is. Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/#findComment-806512 Share on other sites More sharing options...
justAnoob Posted April 10, 2009 Author Share Posted April 10, 2009 I'll check it out. Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/#findComment-806520 Share on other sites More sharing options...
justAnoob Posted April 10, 2009 Author Share Posted April 10, 2009 don't you hate when you upload a file into the wrong directory Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/#findComment-806531 Share on other sites More sharing options...
jackpf Posted April 10, 2009 Share Posted April 10, 2009 It makes me want to slash my wrists. Quote Link to comment https://forums.phpfreaks.com/topic/153497-solved-echo-div-with-image-with-link/#findComment-806534 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.