styling changes to cope with compatibility mode