improved html view for ALF cards

ok, this looks safe and clean.

We may want to tweak it to sacrifice less flexibility in the long run, but for now this seems great.