MovableBlog: Body ID's Are Cool

Nuance 2.0

March 24, 2003

New to me: Body ID's. This is pretty cool, and after coding a <body class="classname"> once per HTML file, changing a logo or the way the navigation looks requires only changing one file, the CSS file.

Mark ended up not actually using <body id="section"> for each section like I did on the site I'm developing for work, but rather <body id="diveintomark-org" class="sectionname">. (I'm not really willing—or possibly just not ready—to let people have custom domain-specific CSS for that site.)

Posted by Richard at 1:03