2,570

Rediscovering attribute selectors

In this article I’ll explain how to use CSS 2.1 attribute selectors to stylize a web document. The core syntax of attribute selectors is explained below. Table of contents Syntax of attribute selectors The markup Global styles The header Main… Continue Reading

38

Styling code blocks

In this article I’ll explain how to use CSS for styling code blocks. Code blocks are generally formatted by using the pre element. Roger Johansson has proposed another way to accomplish this task and I’ll follow his example with further… Continue Reading