Welcome to WebmasterWorld Guest from 23.20.116.7

Forum Moderators: incrediBILL

Message Too Old, No Replies

Small item involving anchor tag

Delete underline in blank space at the end

     
5:22 pm on May 6, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 1, 2005
posts:369
votes: 0


Greetings all

I'm making a web page and it has an anchor at the bottom that links to the home page. Below is the code I'm using.

<p>
Click here to go to the
<a href="home_page.htm">
Home page
</a>
There you will find links to the other pages.
</p>

And when I use this code, the words "Home page" are underlined and this is fine. However the space between the word "page" and the word "There" is also underlined.

I'd like to omit the part of the underline that's under the space.

Help!

Adam
5:26 pm on May 6, 2010 (gmt 0)

Moderator from US 

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 10, 2005
posts:5612
votes: 33


You need to put the </a> after page (with no space):
<a href="home_page.htm">Home page</a>
6:49 pm on May 6, 2010 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 1, 2005
posts:369
votes: 0


Thanks Asia, that did the trick.

Now I've got about 50 anchors to change. Ahhhhh! (smile)

Adam
7:01 pm on May 6, 2010 (gmt 0)

Moderator from US 

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 10, 2005
posts:5612
votes: 33


At least it's not 5000 to change. :)
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members