Techniques » CSS

Consistent Cross-Browser Code Snippets

How did we create and style consistent cross-browser Code Snippets with <pre> and <code> tags and some simple CSS.

The problem, not all browsers treat the padding of the <pre> tag the same. I know what your first thought was…”It’s Internet Explorer!”, wrong actually the culprit is (more…)


CSS Reset anyone?

When we create a new site’s CSS, we start with a CSS Reset to level the playing field between browsers. The problem, not all browsers treat the margin, padding, line height, font size, styling, text decoration, etc. the same, (more…)