Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

Pseudo-Classes

Pseudo elements are used to break down elements into smaller parts allowing us to define different styles for each. A good example of this is the anchor "A" tag which has three different pseudo-classes: link, visited and active.
A:link { color: red }
A:visited { color: blue }
A:active { color: lime }
You should notice that the pseudo-classes are separated by the colon ":" character. In instances such as these, the pseudo-class only applies to the anchor element, so we can actually elimnate the major element as shown below:
:link { color: red }
:visited { color: blue }
:active { color: lime }
Psedo-Element Elements Meaning
active A Active hyperlink
first-line BLOCKQUOTE, P Applied to first-line of text for block-level elements.
first-letter BLOCKQUOTE, P Applied to first character of text for block-level elements.
link A Hyperlink
visited A Visited hyperlink

Table of Contents

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image." - Stephen Hawking

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.