Switch to full style
HTML code examples
Post a reply

Change the default underline style of link

Sun Dec 04, 2011 10:50 pm

Change the default underline style of link from underlined to non underlined.
Code:
<html>
<
head>
<
title>Change the default link style to not underline</title>
  <style type="text/css">
  a {text-decoration: none;}
  a:hover {text-decoration: underline;}
  </style>

</
head>
<
body>

<
div class="head">no underline</div>
<
div class="content">
  <a href="#1">Index</a>
  <a href="#2">Home</a>
  <a href="#3">News</a>
  <a href="#4">Contact us</a>
</
div>

</
body>
</
html>
 




Post a reply
  Related Posts  to : Change the default underline style of link
 Underline for visited link     -  
 inline style for link tag.     -  
 How to change the default order on forums from ascending to     -  
 Change letters to upper case by default     -  
 change the style of the kbd     -  
 A tool to change the default source control client     -  
 Change the td font style     -  
 Change table style using CSS     -  
 change the style of table cells     -  
 change border style to solid at div tag     -  

Topic Tags

HTML Link