Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Clickable image and text witout border/underline?
Old 05-18-2006, 07:26 PM Clickable image and text witout border/underline?
Janet21's Avatar
Skilled Talker

Posts: 62
Trades: 0
How can I set up an image link without the border showing arounding the image? Also, how do a set up link text without showing an underline?

Thanks!
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Janet21 is offline
Reply With Quote
View Public Profile Visit Janet21's homepage!
 
 
Register now for full access!
Old 05-18-2006, 07:39 PM Re: Clickable image and text witout border/underline?
kIDJOE's Avatar
Extreme Talker

Posts: 186
Location: Hollywood, CA
Trades: 0
simple simple!

you just add BORDER="0" or style="border:0px;" within your img tag:

<a href="LINK"><img src="image.gif" alt="Image Alt Text" border="0"></a>

and for text:

<a href="http://www.runapp.com" style="text-decoration:none;">Web Design</a>

try to find some basic CSS information and you can go from there!
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

kIDJOE is offline
Reply With Quote
View Public Profile Visit kIDJOE's homepage!
 
Old 05-18-2006, 07:41 PM Re: Clickable image and text witout border/underline?
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
There is a border attribute in the IMG tag that you can set to eliminate the image border when it is nested inside an anchor:

HTML Code:
<a href="#">
   <img src="image.gif" border="0" alt="" />
</a>
As for the text underline, CSS styles can solve that:

HTML Code:
TO AFFECT A SINGLE LINK:
<a href="#" style="text-decoration: none">
   Link
</a>
 
TO AFFECT ALL LINKS GLOBALLY:
<style type="text/css">
   a:link, a:active, a:hover, a:visited {
     text-decoration: none;
   }
</style>
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 05-18-2006, 09:02 PM Re: Clickable image and text witout border/underline?
Novice Talker

Posts: 12
Trades: 0
Thank you for this question!!! It helped me as well, this was my exact problem!! What a coincidence!

Thank you so much!


~summer
summer is offline
Reply With Quote
View Public Profile Visit summer's homepage!
 
Old 05-18-2006, 09:09 PM Re: Clickable image and text witout border/underline?
Novice Talker

Posts: 12
Trades: 0
Oh no!

It did worked but now something is wrong, the link does not work, when I click on the image it says - "you are not authorised to view this page", what happened there?

This is what I've done -

<a target= "blank" href="<A href="http://swakbylil.com.au/STORE/WsAncillary.asp?ID=16"><a">http://swakbylil.com.au/STORE/WsAncillary.asp?ID=16"><a href="LINK"><img src="http://swakbylil.com.au/fpdb/images/whymotherscry.gif" alt="Image Alt Text" border="0"></a>

And this is the page -
http://swakbylil.com.au/STORE/WsAncillary.asp?ID=15

Help!!!

Thank you again!
~summer
summer is offline
Reply With Quote
View Public Profile Visit summer's homepage!
 
Old 05-18-2006, 09:14 PM Re: Clickable image and text witout border/underline?
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,918
Name: Keith Marshall
Location: Connecticut
Trades: 0
Quote:
Originally Posted by summer
This is what I've done -

<a target= "blank" href="<A href="http://swakbylil.com.au/STORE/WsAncillary.asp?ID=16"><a">http://swakbylil.com.au/STORE/WsAncillary.asp?ID=16"><a href="LINK"><img src="http://swakbylil.com.au/fpdb/images/whymotherscry.gif" alt="Image Alt Text" border="0"></a>
You accidently messed up the syntax in your link:

HTML Code:
<a target= "blank" href="http://swakbylil.com.au/STORE/WsAncillary.asp?ID=16">
   Text Link
</a>
<a href="http://swakbylil.com.au/STORE/WsAncillary.asp?ID=16">
   <img src="http://swakbylil.com.au/fpdb/images/whymotherscry.gif" alt="Image Alt Text" border="0">
</a>
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 05-18-2006, 09:37 PM Re: Clickable image and text witout border/underline?
Novice Talker

Posts: 12
Trades: 0
Thank you so much!
~summer
summer is offline
Reply With Quote
View Public Profile Visit summer's homepage!
 
Old 05-18-2006, 10:16 PM Re: Clickable image and text witout border/underline?
Janet21's Avatar
Skilled Talker

Posts: 62
Trades: 0
Thanks guys! And, summer, glad your question was answered as well.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Janet21 is offline
Reply With Quote
View Public Profile Visit Janet21's homepage!
 
Reply     « Reply to Clickable image and text witout border/underline?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27250 seconds with 12 queries