fixes firefox issue (fixes issue #51)

Fixing styling problems when viewing in Safari and Firefox.