Fixing css and markup to behave correctly in each browser