It does if you apply it to the right element. Or at least, I can get it to work in my test app, though I haven't tried it in browsers generally. But, more important, what is the effect you are trying to get?
Is the image smaller than the text box or the other way around? Do you want the bottom of the image and the bottom of the textbox to be in line (this is what I am understanding from what you have said). Ian http://examples.roughian.com 2009/6/29 max3000 <[email protected]> > > Doesn't work. > > On Jun 29, 8:09 am, Ian Bambury <[email protected]> wrote: > > vertical-align: bottom !important; > > ? > > > > Ian > > > > http://examples.roughian.com > > > > 2009/6/29 alex.d <[email protected]> > > > > > > > > > panel.setCellVerticalAlignment(textbox, > > > HasVerticalAlignment.ALIGN_BOTTOM); > > > > > On 27 Jun., 21:59, max3000 <[email protected]> wrote: > > > > Hi, > > > > > > I'm trying to align an image and a textbox in a HorizontalPanel using > > > > only CSS. I want the textbox to be aligned at the bottom. > > > > > > Doing the following works: > > > > panel.setVerticalAlignment(HasVerticalAlignment.ALIGN_BOTTOM); > > > > > > However, no amount of CSS at the panel level works. It figures > because > > > > GWT inserts an automatic "vertical-align: top", like this: > > > > > > <td align="left" style="vertical-align: top;"> > > > > <img class="search_logo" src="/resources/logo.jpg"/> > > > > </td> > > > > > > Why is that so? Am I missing something or is there no way to align > > > > cell content at the bottom using CSS? > > > > > > Thanks, > > > > Max > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
