Centering web pages irrespective of the screen resolution in Vaadin.

Hi all,

I have designed my pages/images to fit 800px width and I am trying to center the web pages to the center of the screen. I am NOT using custom layout. How do I do it with CSS?


Use CssLayout as the main layout of your window and work your way from there to the contained components.

contains an example of fixed width layout (based on CSSLayout)