HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Linking a word to and image
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> Images & Graphics
View previous topic :: View next topic  
Author Message
ranknovice



Joined: 04 Aug 2005
Posts: 3

Posted: Thu Aug 04, 2005 8:14 am     Linking a word to and image  

As my user name would indicate I am a rookie at best any assistance is appreciated.

I am posting a reply on a http://seattle.criagslist.org forum. Craig's list does allow basic html in their messages. I hope someone can tell me how to link a word (without an underline) to a .jpg image.

Thank you. [/url]


Corey Bryant



Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

Posted: Thu Aug 04, 2005 8:24 am      

Since you cannot place CSS in the <head> you can use inline CSS:
Code: <a href="http://www.loudhost.com" style="text-decoration: none;">Hosting</a>
ranknovice



Joined: 04 Aug 2005
Posts: 3

Posted: Thu Aug 04, 2005 10:16 am      

Thanks, that worked great.

With your assistance I now understand how to link a word to a web page.

Please forgive my ignorance but, is there a way to do the same thing linking the word to an image e.g. a .jpg?
Corey Bryant



Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

Posted: Thu Aug 04, 2005 10:20 am      

Try:
Code: <a href="http://www.loudhost.com"><img src="images/yourimage.gif" alt="ALT Text"></a>
ranknovice



Joined: 04 Aug 2005
Posts: 3

Posted: Thu Aug 04, 2005 12:20 pm      

Thank you Corey. I could not get your second suggestion to work for me (The image showed up rather than the word linking to the image)

I solved my problem by first posting the image else where then useing the first set of code you suggested I linked to that image post.

Not exactly what I wanted to do but in the long run it accomplished what I wanted .

Thanks again.
Corey Bryant



Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

Posted: Thu Aug 04, 2005 12:22 pm      

Glad it all worked out
zylstra



Joined: 10 May 2004
Posts: 138

Posted: Fri Nov 11, 2005 12:11 pm      

I believe what you were looking for was: Code: <a href="http://www.example.com/yourimage.gif">linked text</a> And yes, the image has to be hosted somewhere on the internet.
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> Images & Graphics
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group