Design Processes
Posted June 2nd, 2004 @ 08:09am by Erik J. Barzeski
At one point, we decided that it'd be cool if PulpFiction allowed users to customize the preview pane with CSS. We shoved every article into a template and created unique DIVs for everything. A few simple stylesheets were produced and we were quite pleased.
Some time later, we decided that it would be even cooler if the stylesheet author could override the built-in template with their own. We came up with the seemingly brilliant idea of an optional header in the .css file, enclosed in /* CSS comment tags */
. Simple, easy, effective. Also a bit braindead.
If we were going to mix HTML and CSS, why, there's already a good way to do this: build an HTML document with <style> tags. PulpFiction 1.0.1 includes this improvement (and about 60 others). I'll update the resources page when we ship it.