fix format string problems

openbsd discards invalid format string instructions
as triggered by css style definitions in this case.

escape percentage sign.