6

Using the table values of the ‘display’ property

In this article I’ll explain how to use the table values of the CSS display property to format certain sections of a simple three-columns layout. The final layout is shown in the picture below. Figure 1. The final layout The… Continue Reading

11

Styling form elements

In this article I’ll explain how to format form elements by using CSS. Finally, I’ll provide a series of screenshots taken from the various browsers. Table of contents The markup General styles Adding some padding to the form Fieldset and… Continue Reading

780

Rediscovering generated content

In this article I’ll discuss some possible uses of generated content. Generated content is a powerful feature of CSS. Before going on, I’d like to explain what generated content is not. Let’s take a look at the following picture. Figure… Continue Reading

26

Faux Columns

Vertical stretch One of the somewhat frustrating properties of CSS is the fact that elements only stretch vertically as far as they need to. Meaning, if a 200-pixel tall image is contained within a <div>, the <div> will only expand… Continue Reading