Fix cross-browser issue and tweak some CSS