On 30 Nov., 12:59, Jeff Schwartz <jefftschwa...@gmail.com> wrote:
> When I need to center an element I apply the following css to its containing
> element:
>
>             margin-left:auto;
>             margin-right:auto;

Well, I need to center both horizontally and vertically. I have tested
"auto", but it does not work.

Nevertheless, I found that the scrollbars disappear when I omit the
right and bottom margins. The centering still works. I will now test
this on different platforms...

Magnus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to