Forum Moderators: open

Message Too Old, No Replies

Small item involving anchor tag

Delete underline in blank space at the end

         

Adam5000

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

LifeinAsia

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

WebmasterWorld Administrator 10+ 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>

Adam5000

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

LifeinAsia

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

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



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