Browser compatibility and CSS improvements