BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
CSS
CSS <z-index> Property
CSS <word-spacing> Property
CSS <width> Property
CSS <white-space> Property
CSS <visible> Property
CSS <vertical-align> Property
CSS <unicode-bidi> Property
CSS <top> Property
CSS <text-transform> Property
CSS <text-shadow> Property
CSS <text-indent> Property
CSS <text-decoration> Property
CSS <text-align> Property
CSS <table-layout> Property
CSS <quotes> Property
CSS <position> Property
CSS <padding> Property
CSS <padding-top> Property
CSS <padding-right> Property
CSS <padding-left> Property
<< BizTalk
 

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :307

 

The Pseudo Class: active (CSS Reference)

Introduction

The pseudo class active can be used to specify the style of an active link. There are also some pseudo classes related to the link tag. These classes are: hover, link and visted. The hover class can be used to specify the behavior when the mouse hovers over the link. The link class is used to set the style for a link which isn’t visited before or which isn’t active. The visited class is used to specify the behavior when the link is already visited.

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head><title>Pseudo class: active, visited, link and hover demonstration</title>

<style type="text/css">

a:active

{

    text-decoration: none;

}

a:hover

{

    color: red;

    font-size: 100px;

    background-color: blue;

    text-decoration: none;

}

a:link

{

    color: Silver;

    text-decoration: none;

}

a:visited

{

    color: silver;

    text-decoration: none;

}

 

</style>

</head>

<body>

<h1>Pseudo class: active, visited, link and hover demonstration</h1>

<font size="20"><a href="http://www.topxml.com">TopXML</a>

</body>

</html>

Output


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

An immediate job opportunity as a B
Software Developers Needed in Charl
Sr. Software Engineer - Analytics
Immediate Mainframe openings for Ch
Immediate TANDEM-TAL openings for C

View all Jobs (Add yours)
View all CV (Add yours)



answering service
conference calling
swimming pool builder
spfxmasks
water softener
Teleconference
Host Department NOLIMIT Web Hosting
MSN
sunglasses


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP