Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking an image

Status
Not open for further replies.

mody69

Technical User
Sep 15, 2004
3
US
I'm trying to do the following:

I have a menu item at the top of mypage that I named "Contact me". I want to click on that item and be redirected to the bottom of the page where I have an image of a mailbox that will open the email editor if I click on it.

I tried using <a href=#contact me> in the menu item and <a name= contact me on the image link but can't get it to work.

I don't know what I'm missing/doing wrong.
Any help would be appreciated.

here's the code:

<html>
<head>
<title>Home Page</title>
</head>

<body>
<!-----------Menu--------->
<div align="left">
<a href="c:\temp website\home.htm">Home</a>&nbsp;&nbsp;&nbsp;
<a href="c:\temp website\resume.htm">Resume</a>&nbsp;&nbsp;&nbsp;
<a href="c:\temp website\employer.htm">My Employer</a>&nbsp;&nbsp;&nbsp;
<a href="#email me">Contact Me</a>&nbsp;&nbsp;&nbsp;
</div>
<!-----------End of Menu---------><br><br><br>
<em>This is my second attempt at writing a web page. I hope I covered all the neccesary tags for this assignment.
I consider myself less than a novice when using HMTL :) </em>
<br><br>
<div align="bottom"><img src="email.gif" alt="" width="48" height="64" border="1" align="left">
<a NAME=email me"</a>
<a href="mailto:.....">email me</a>
</div>
</body>
</html>
 
You need an opening quotation mark in the line, and a closing >.

<a NAME=[red]"[/red]email me"[red]>[/red]</a>


*cLFlaVA
----------------------------
Ham and Eggs walks into a bar and asks, "Can I have a beer please?"
The bartender replies, "I'm sorry, we don't serve breakfast.
 
I made the quotation and closing > correction but I'm still not being redirected to the image at the bottom of the page..
 
Well, the code you provided is less than the size of one page.

Where you have this: <br><br>

Make it this: <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

Then try it.

The page can only scroll down as far as there is data on the page.

*cLFlaVA
----------------------------
Ham and Eggs walks into a bar and asks, "Can I have a beer please?"
The bartender replies, "I'm sorry, we don't serve breakfast.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top