beginner with an html problem
Hello,
My question is silly but it is driving me crazy! can someone give me the code that perform this task: I want to put an Image on my page and write a name underneath it to describe it and turn the name into a link to another page. Example:
I would like to take an image of hermes and align it to the right side of my page. Directly underneath I would like the word Hermes to appear as a link that will open to a page about Hermes. I tried it as a table but i cannot get the word Hermes to align right like the Image. I am able to make it a link and I am able to make my image appear but I cannot write text under an Image. I think I mess it up whrn I try to align the text to the right so it falls under the image. Please help me, I am going crazy.
Thanks!
Medea
AndyB posted this at 01:37 — 15th May 2000.
They have: 344 posts
Joined: Aug 1999
How about creating a right (or left) aligned table, and then putting the image and image text centered within the table
aeneas posted this at 01:55 — 15th May 2000.
They have: 20 posts
Joined: May 2000
Hows about:
<div align="right"><img src="hermes.gif"><br><a href="hermes.html>hermes</a></div>
Medea posted this at 01:58 — 15th May 2000.
They have: 3 posts
Joined: May 2000
Hi Andy, Thanks for responding. As I am new with tables would you please give me an example of the code I would use to align table to the left or right? I have been doing a trial and error type thing and I did manage to get text undet one of my images by using a table. I would appreciate it!
Thanks!
Medea who is very confused!
Medea posted this at 02:01 — 15th May 2000.
They have: 3 posts
Joined: May 2000
Thanks Aeneas!
I will surely try it!
I will let you know how it turns out. I cannot believe I am being this dopey! It cannot possibly be as hard as I am making it!
Thanks.
Medea
Arielladog posted this at 03:29 — 15th May 2000.
They have: 122 posts
Joined: Jun 1999
aeneas's code works , but he forgot a " so, it would be
<div align="right"><img src="mermaid.gif"><br><a href="hermes.html">hermes</a></div>
Moderate at JavaScriptCity Forums
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.