layout with CSS respecting the model