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!

links w/o an underline 2

Status
Not open for further replies.

nbw

Technical User
Apr 29, 2000
17
US
Is it possible to create links without an underline?
 
Yes this is quite easy.&nbsp;&nbsp;Within your anchor tag (&lt;a&gt;) include a little info for the style property.&nbsp;&nbsp;A sample follows:<br><br><FONT FACE=monospace>&lt;a href=&quot; <A HREF=" TARGET="_new"> &quot; <b>style=&quot;TEXT-DECORATION: none&quot;</b>&gt;</font><br><br>Happy coding ...<br>
 
Thanks Husky. I'll give it a try.
 
Thanks Husky - it works, it works!&nbsp;&nbsp;Ah, the simple joys in life.
 
If you use stylesheets you need only code it once.<br><br>Create a .css files, then set up your link settings within it like so:<br><br><FONT FACE=monospace>a:link<br>{color: #0066FF;<br>text-decoration: none}<br><br>a:active<br>{color: #00CCFF;<br>text-decoration: none}<br><br>a:visited<br>{color: #0066FF;<br>text-decoration: none}<br><br>a:hover<br>{color: #FF3300;<br>text-decoration: underline}</font><br><br>Then link to the .css from your pages like so:<br><br><FONT FACE=monospace>&lt;link rel=&quot;stylesheet&quot; href=&quot;yourstylesheet.css&quot;&gt;</font><br><br>Then all your links will appear without underlines using just:<br><br><FONT FACE=monospace>&lt;a href=&quot;somewhere.htm&quot;&gt;hello&lt;/a&gt;</font><br> <p>ahdkaw<br><a href=mailto:ahdkaw@sensibilium.com>ahdkaw@sensibilium.com</a><br><a href= you do visit my sites - be warned! You must be of a discordian nature...'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top