fixes #51

Fixing styling problems when viewing in Safari and Firefox.