Welcome to WebmasterWorld Guest from 54.162.240.235

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)

10+ Year Member



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)

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



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)

10+ Year Member



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)

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



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

Featured Threads

Hot Threads This Week

Hot Threads This Month