I currently center it by adding the content, that needs to be centered to a container div that has a style that will take care of the styling (something like margin: auto; position:absolute; left:0; top:0; bottom:0; right:0). Note: i don't use fixed as position such that I can move the whole container div just under body, such that I can move the whole screen, which I need if a left/right menu slides in (just like facebook menu).
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment