Pages

Thursday, June 3, 2010

Link styles - Pseudo Classes

There are times when styles like a:active fail. This is because , the styles assume a pseudo order and works according to the hierarchy in which they are declared or defined in the style sheet.

For example a:active shall fail when the pseudo classes for the links are defined in the following order

:link

:visited
:focus
:active {style-active}

:hover {style - hover}

hover shall over ride active....

so while writing styles plan accordingly ,

:)

No comments:

Post a Comment