Using Divs Inside Tables

Despite their status as mortal enemies, divs and tables can work together if you need them to. Because of the ability to use vertical centering in tables, it is a somewhat popular technique to use a single-celled table with both …

Avatar of Chris Coyier
Chris Coyier on (Updated on )

Stylesheets for Printing

Jason from 37 Signals has a great post up on the Signal vs. Noise blog on how simple print stylesheets can be and still be effective. Basically using display: none; enmasse. People don’t need your header or your footer or …

Avatar of Chris Coyier
Chris Coyier on (Updated on )

Homebase, a Simple Free Template for All

If you are just getting started with CSS, a great way to begin is by downloading a template and playing around with things and seeing what happens. You have to be careful though, some templates are so overly complicated that …

Avatar of Chris Coyier
Chris Coyier on (Updated on )

ID’s Cannot Start With a Number

Tempted to use something like “1800number_box” for a ID? Don’t. Because it won’t work. Class identifiers are allowed to start with a number, but ID identifiers are not.

That is all.

BUT

If you have already existing HTML using it …

Avatar of Chris Coyier
Chris Coyier on (Updated on )