Ben,
I don't think it is about scripting -- it is about structurally marking up the document that is being displayed, and then applying styling to resulting elements.
I also believe that we have a *very* long road ahead of us in that respect -- there is a lot of FONTing and TABLEing all over the kit. Yet I also believe that a call for making it all a lot more standard has been put forward: https://openacs.org/forums/message-view?message_id=134257