CSS Links

User avatar
by DataMine · 3 posts
8 years ago
Posted 8 years ago · Author
A brief tutorial on styling links (<a href=""></a>).

Links have 4 selectors:
    A:link
    A:visited
    A:active
    A:hover

Selector Descriptions:
    A:link
    Defines the style for normal unvisited links.

    A:visited
    Defines the style for visited links.

    A:active
    Defines the style for active links.
    A link becomes active once you click on it.

    A:hover
    Defines the style for hovered links.
    A link is hovered when the mouse moves over it.
    Note: Not supported by Netscape browsers prior to version 6.

Example Usage:

Code
<style type="text/css">
   A:link {
      background: #FFCC00;
      text-decoration: none
   }
   A:visited {
      background: #FFCC00;
      text-decoration: none
   }
   A:active {
      background: #FFCC00;
      text-decoration: none
   }
   A:hover {
      background: #FFCC00;
      font-weight:bold;
      color: red;
   }
</style>
Posted 8 years ago
yet again thanks your too cool for school lol
Posted 6 years ago
Your awesome DM! I am always looking forward to all your tutorials and useful links! Thanks a lot! :pumpkin: :pumpkin: :pumpkin: :turkey:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT
Select a forum Protection     Help & Support     Introductions     Mafia News     IMVU News General Discussion     IMVU Lounge        IMVU Series / Roleplaying        Social Games     Mafia Market     Mafia Tools        Premium IMVU Tools        Off Topic Tools     Off Topic     Contests Creator Corner     Graphics Design        Photoshop        GIMP     Basic Creator Help     Catalog And Product Showcase     3D Meshing        3Ds Max        Sketchup        Blender Gangsters with Connections     White Hat Activities        Google Hacking        Trackers Programming Corner     Coding        Python        .Net (C#, VB, etc)        Flash        JAVA        Autoit        Batch        HTML & CSS        Javascript        PHP        Other        IMVU Homepage Codes           General           About me Panel           Messages Panel           Special Someone Panel           Visitors Panel           New Products Panel           Rankings Panel           Wishlist Panel           My Badges Panel           Outfits Panel           Url Panel           Groups Panel           Slideshow Panel           My Room Panel           Sandbox panel           Layouts     Help & Requests Free Credits     Approved Methods     Submit Methods Free Money     Approved Methods     Submit Methods Adult Corner     Get Mafia AP Here     AP Lounge        AP Social Games        Casual Dating Tips     IMVU Slave Market & Escorts