Test css position and display modes