css and compatibility tweaks