222

CSS syntax

In this article I’ll explain the core syntax of CSS with a particular reference to the rules for handling parsing errors. I’ll try to outline the main components of CSS grammar by providing various examples of correct and incorrect coding… Continue Reading

CSS hacks

The so-called “CSS hacks” are particular patterns used by authors to deliver style rules only to one browser or to prevent a browser from reading certain rules that might cause rendering problems. These patterns may rely on parsing bugs, wrong… Continue Reading

503

Semantic XHTML

In linguistics, semantics is the study of the meanings of words, phrases or systems. According to the web terminology of markup languages, semantic concerns the appropriate use of XHTML elements. To put it simple, elements should be used respecting their… Continue Reading

1,051

CSS counters

Counters are a powerful feature of generated content. Through counters we can add an automatic numbering to the elements of a web document. Thanks to the :before and :after pseudo-elements, the numbering will appear before or after the actual content… Continue Reading

24

CSS and XML

In this article I’ll explain how to format a well-formed XML document by using CSS. The techniques explained below can be used to stylize an (X)HTML document as well. Table of contents Adding a style sheet to an XML document… Continue Reading