CSS Margins and Padding

CSS Margins and Padding

The ability to properly use margins and padding is essential to getting objects on your page to display the way you intend. The relative effects of margins and padding were something which evaded me for years, and something I see the people I work with (or am forced to come in and clean up behind) understandably seeming to struggle with. The CSS Containing Block The containing block is the key component of CSS positioning. No matter what kind...

Read More

CSS Introduction

CSS Introduction

In the old days of the web, styling wasn’t very stylish. Folks were adding style attributes to individual elements on a case-by-case basis and there was a ton of extra code involved. Eventually, the working groups who develop web standards were fed up. It was obvious that the web was taking off, and it was going to be necessary to develop consistent rules for styling which could be quickly and easily applied site-wide. CSS (Cascading Style...

Read More