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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get rid of link identifier. 1

Status
Not open for further replies.

ryancomps

Programmer
Jan 17, 2003
18
IE
This may be a question with a simple answer but I don't know how to do it. Using a style sheet entry I want to get rid of the link symbol (line under a link) that comes with the <a href=&quot;&quot;> tag.
Thank you in advance for any replies.
Ryan
 
<style>
a{
text-decoration:none;
}
<style>

You wouldn't believe how many months I searched for that solution when I was first starting out in html/css. Now it's second nature :).

Rick

-----------------------------------------------------------
RISTMO Designs
Arab Church
Reference Guides
 
The above solution works perfectly with text, thanks, but if I have an image as a link then a box appears around the image. Any ideas on how to get rid of that??

Thank You
 
Set your image border to &quot;0&quot; in the image tag.

<img src=&quot;whatever&quot; border=&quot;0&quot; blah, blah, blah...>

Hope this helps.

 
or if you are lazy, you can add it to the styles

<style>
a img{
border:none;
}
</style>

this way no img that is linking somewhere will have border.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top