Jump to content
Sign in to follow this  

Website building

Recommended Posts

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>:confused:

 

Thanks

Share this post


Link to post
Share on other sites

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

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
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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.