Deprecated: Assigning the return value of new by reference is deprecated in /home/shan/public_html/mahudsblog/wp-content/plugins/sem-recent-comments/sem-recent-comments.php on line 971
mahud’s blog: Paint Shop Pro Tutorials and Proboard Templates » Link Styles

mahud's blog

Paint Shop Pro Tutorials, ProBoards Templates, Downloads and More Stuff

< Basic Codes for your ProBoards | Reduce Table Cell Background Padding (ProBoards CSS Tutorial) >

Link Styles

31 May 2006 > 0 Comments

There are four pseudo classes that can be used to style your links. These are;

  • a:link (Normal link style)
  • a:visited (previously clicked link style)
  • a:hover (Link style when hovered with cursor)
  • a:active (Link style the instant it is clicked)

For the examples below I am using a:link, but the styles can be used for any of the four link classes above.

<style type="text/css">

<!--

 a:link
{
  text-decoration: none;
}
 -->

</style>
<style type="text/css">

<!--

 a:link
{
  text-decoration: overline;

}
-->
</style>
<style type="text/css">

<!--

 a:link
{

  text-decoration: underline;
}
  -->
</style>
<style type="text/css">

<!--

 a:link
{
  text-decoration: underline overline;
}
  -->
</style>
<style type="text/css">

<!--

 a:link
{
  text-decoration: line-through;
}
  -->
</style>
<style type="text/css">

<!--

 a:link
{
  border-bottom: 1px dashed;
}
  -->
</style>
<style type="text/css">

<!--

 a:link
{
  border-bottom: 1px dotted;
}
  -->
</style>
<style type="text/css">

<!--

 a:link
{
  background-color: #fa6390;
}
  -->
</style>

Related Posts

No Comments (Have your say)

  1. smile
  2. happy
  3. sad
  4. wink
  5. url
  6. bquote
  7. bold
  8. acronym
  9. abbr
  10. cite
  11. code
  12. em

Why Markup when you can Markdown?

Menu

logopv.jpg

Mahud Version 5 © 2006-2008 > powered by Mr Whippy Wordpress