Heal Your Church WebSite


Teaching, rebuking, correcting & training in righteous web design.

Mark Pilgrim on mod_rewrite

Mark Pilgrim reverses a previous position on CSS hackery by handling browser differences with mod_rewrite. The end effect is that each page links to two stylesheets: mu.css and om.css. Everybody gets mu.css, and the bulk of his styles are defined there. But for browser-specific workarounds, om.css gets redirected based on rules Mark set up in his .htaccess file.

An interesting approach I’ll be keeping my eye on. Meanwhile, here’s some more goodies on mod_rewrite we’ve previously discussed here at HealYourChurchWebSite:

Comments are closed.