Christopher Schmitt

designer, web developer, author, strategist, dreamer

Working with the web since 1993, Christopher Schmitt directs Heatvision.com, Inc., a small new media publishing and design firm. The author of several books, including CSS Cookbook and Photoshop in 10 Simple Steps or Less, Schmitt is also a contributor to many web development magazines.

FROM THE ARCHIVE

CSS 3 Attribute Selectors

August 21

Another article of mine makes its appearance at the Opera Developer Community thanks to Chris Mills and Bruce Lawson.

This time the topic covers CSS 3 Attribute Selectors:

CSS attribute selectors allow us to pinpoint the values of attributes of an element and to style that element accordingly. CSS3 introduces three new selectors that can match strings against an attribute value at the beginning, the end, or anywhere within the value.

This provides powerful new ways to style elements automatically that match very specific criteria. In this article, I will put these new attribute selectors in action and create some clever CSS rules that attach icons to links based on the value of the href attribute.

To read the rest of the article, head over to the dev.opera.com Web site.

See What Others Have Said

One Response to “CSS 3 Attribute Selectors”
  1. Eric Ellis Says:

    August 25th, 2008 at 3:57 pm

    Nice post. What’s the story with CSS3 attribute selectors and Firefox 3? Supported?

Leave Your Comment

ELSEWHERE

Links of Interest

Internet Trails

Publications

Popular Blog Posts

Ads by Google


Featured Publication