Fixed browser issues

Looks correct on FF and Safari.