Contact iFingers

Finger Tips - a fistful of handy web notes

Tuesday, June 26, 2007

Styling Attributes

Styling web pages with CSS is never easy, but I found a way of styling attributes of tags. Very useful if you start dabbling with microformats or just want to style specific links in a certain way.

Examples


a[rel="tag"] { color: #F00; }
a[href="http://ifingers.com"] {color: #FFF; background-color: #00F; }

Labels:

0 Comments:

Post a Comment

<< Home