Home » Tutorials » CSS
<style type="text/css">
<!--
A:link {text-decoration: none}
-->
</style> |
Put the above script between the <head> </head> tags in your page. It will remove all the underlines from
your links in that particular page. To remove all underlines
from your links throughout your website, better place it
in your header file. For more information how to do it please
check PHP
and Web Design
|
In addition to none, any of the following
four constants can be put:
A:link {text-decoration: blink} <!--
Text blinks -->
A:link {text-decoration: line-through} <!-- Each
line of text has a line through the middle.
-->
A:link {text-decoration: overline} <!-- Each line
of text has a line above it.
-->
A:link {text-decoration: underline} <!-- Each
line of text is underlined.
-->
|
|
|
Usually link, visited, active and hover
are alltogether defined in one script as below:
<style type="text/css">
<!--
A:link {text-decoration: none} <!-- Underlines
are removed from links -->
A:visited {color: red } <!-- Visited link will
become red -->
A:active {color: #CCCCCC } <!-- Active link will
be light grey -->
A:hover {color: yellow } <!-- When you point on
links it will turn to yellow -->
-->
</style>
Change the colors that suits your website layout.
 |
Related CSS Tutorials |
| |
Hiding DIV layers after 5 seconds New
Learn how to hide all the div layers automatically after a specified time. |
| |
Creating and linking external CSS files
Learn how to create and attach external CSS file to a page. |
| |
Having different link colors on one page
Learn how to have more than one link color for the page. |
| |
Fixed Image Background for the page
Learn how to make centered background that stays even when you scroll the page. |
|
 |
|