Complacency with CSS?

Published 28 July 04 by Justin French, 1 comments

During the design and development of this very website I encountered two CSS rendering bugs (one in IE(Internet Explorer), one in the Mozilla family) that I’ve absolutely never seen before.

One was IE’s Doubled Float-Margin, and the other was probably Mozilla’s Clearing Bug.

In the space of 10 minutes, everything I thought I knew about floats turned to dust, and I was left tweaking style sheets and refreshing browsers to no avail.

Position is Everything and Google were really helpful in identifying the problems and solutions, but that’s not the point.

Testing on as many browsers as you can find is a crucial part of every CSS layout you ever produce – even the simple ones. There are far too many browser quirks for any of us to claim “we’ve seen it all before”.

Test early, test often, and never assume that what you did last week will work today under different circumstances.

Options

What is this?

portrait of Justin

This is the online home of Justin French, a designer & web application developer located in Melbourne, Australia. I like finding ways to make things work better. I like clarifying and simplifying. I like to understand how you understand things.

» read more

Subscribe to my feed

Follow me on Twitter

@justinfrench

More Notebook Articles

Show more notebook articles

Search