This is a quiet big problem. It is very hard to center things verically in a browser independent way. You should try googling for it. There are a few not very straight forward solutions.
This issue is not related to GWT. Üdvözlettel / Best Regards - István Szoboszlai istvan.szobosz...@inepex.com | inepex.com On Thu, Sep 8, 2011 at 12:33 PM, ph09 <ph.hei...@googlemail.com> wrote: > Hello, > > I try to centering text in a Label with following CSS: > .gwt-Label-1 { > border: 1px solid; > font-size: 13px; > vertical-align: middle; > text-align: center; > background-color: lavender; > } > > It works all except of "vertical-align: middle". The text is always at > the top of the Label. > Does anyone know why? > > -- > 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-toolkit@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. > > -- 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-toolkit@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.