Eric Meyer: CSS Beyond the Browser: Going to Print. Learn what this does and why it’s useful:

#content a[href^="/"]:after {
   content: " (http://www.alistapart.com" attr(href) ") ";
   }

Eric Meyer is the author of several CSS books and the maintainer of CSS/edge, where I learned several tricks that I use in my advanced stylesheets. While current browsers are catching up to support CSS-1 and CSS-2, he is one of the people working on CSS-3, of which that code listed above is an example. Wild.

§

Respond privately

I am no longer accepting public comments on this post, but you can use this form to contact me privately. (Your message will not be published.)



§

firehosecodeplanet

© 2001–present Mark Pilgrim