Wednesday, 22 June 2011

Pseudo Class Strange Specificity Behaviour

Just a quick note to remind myself to blog about this in more detail.

1. Have an ANCHOR element with a class and associated selector in one file like:
<div class="SearchButtonBar">
    <div class="Button"><a tabindex="31" onclick="return false" href="#">Clear</a></div>
.Button a:link {

2.  Then in another style sheet, over-ride that style with a specific selector such as


No comments:

Post a Comment