homepage Welcome to WebmasterWorld Guest from 54.197.189.108
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Small item involving anchor tag
Delete underline in blank space at the end
Adam5000




msg:4128252
 5:22 pm on May 6, 2010 (gmt 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

 

LifeinAsia




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

You need to put the </a> after page (with no space):
<a href="home_page.htm">Home page</a>

Adam5000




msg:4128315
 6:49 pm on May 6, 2010 (gmt 0)

Thanks Asia, that did the trick.

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

Adam

LifeinAsia




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved