jan2002   10 #1 Posted October 28, 2004 Hi Can anyone help me with my little problem please I have built a site from a template and all is working ok apart from.... there is a email me button, and I don't know how to make it come up with my email address  This is the code what do I do with it  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=windows-1252" http-equiv=Content-Type> <META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD> <BODY><IMG src="dhtmled0:(C:\WINDOWS\Desktop\night\images\email_on._jp)"></BODY></HTML>  Thanks Share this post Link to post Share on other sites Share this content via...
Rich   12 #2 Posted October 28, 2004 You need to upload your email graphic to your site for starters,  It won't work if it's still hosted on your C drive,  so the code would read  <img src="http://www.something.com/images/something.jpg"> for example, oh and if you want to tell people who have graphics turned off in their browser what they're missing, use an ALT tag, like this,,,  <img src="http://www.something.com/images/something.jpg" alt="my pic">  This gives a description of what the pic is.  Hope that helps Share this post Link to post Share on other sites Share this content via...
jan2002   10 #3 Posted October 28, 2004 Thanks for that  New to all this and its a bit frustrating sometimes. I have not published the site yet so another question is do I change the code for all the images (as said above) befor I upload it to the server ?  Thanks again:huh: Share this post Link to post Share on other sites Share this content via...
sccsux   10 #4 Posted October 28, 2004 Originally posted by jan2002 Thanks for that  Thanks again:huh:  <a href="mailto:myaddress@domain.ext"> <img src="images/image.gif" alt="I am an image (thanyou very much)"> </a>  Though you may want to obfuscate the email addy, as email spiders will easily pick your address & you'll get spamed to death. Share this post Link to post Share on other sites Share this content via...
Rich   12 #5 Posted October 28, 2004 Originally posted by jan2002 Thanks for that  New to all this and its a bit frustrating sometimes. I have not published the site yet so another question is do I change the code for all the images (as said above) befor I upload it to the server ?  Thanks again:huh:  Yeah you'd need to change the code throughout all the pages to link to the graphics on your webspace rather than your C drive. Share this post Link to post Share on other sites Share this content via...
sccsux   10 #6 Posted October 28, 2004 Originally posted by jan2002 I have not published the site yet so another question is do I change the code for all the images (as said above) befor I upload it to the server ?   Can I ask what software your using 'cause if it's DreamWeaver, you can do this from within DW itself.  When selecting an image, simply set the location relative to the document (bottom option when inserting an image)!  When you next save the page, the image will be saved with a local path (instead of C:\\whatever\whatever\images )! Share this post Link to post Share on other sites Share this content via...