This is not what you said initially ('I want the textbox to be aligned at
the bottom') which I gave you the answer to (!important). It does work, and
it might have been more accurate for you to say that *you* can't get it to
work.
Also, a flowpanel *does* horizontally align the textbox with the other
elements, but now it appears that this is not what you want
('textbox(slightly above baseline)').If you said what you wanted in the first place, you wouldn't have wasted my time. This whole thing is just a simple css beginner's exercise, and muttering 'doesn't work' when *you* can't get something to work isn't going to inspire people to simplify and explain things even further in an attempt to get to a point where you *can* understand. Put everything in a flowpanel and adjust the margins until it looks like you want it. Ian http://examples.roughian.com 2009/6/30 max3000 <[email protected]> > > On Jun 29, 7:37 pm, Ian Bambury <[email protected]> wrote: > > 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). > > Something like that. In effect, what I want is a lot like the "search > line" in google docs: > logo + textbox + button > > I have tried various combinations, including putting the textbox & > button in their own horizontal panel. The reason I did this is because > the button is taller than the textbox on IE. (In fact, on IE every > component seems too big). I have this latter horizontal panel bottom- > aligned, and the widget themselves middle-aligned. The overall effect > is like this: > > |image| > |image| |textbox(slightly above baseline)| |button (bottom on > baseline and top slightly above textbox's top)| > > (Hoping I'm being clear...) > > Anyway, I lost a good 10 hours on this problem so far. True I'm new to > all this, but it's a lot. I feel at this point it's more than enough > time spent on a single (simple?) problem. Sure, I wanted to be a good > boy and keep the code and presentation separated. However, I think > I'll keep the setHorizontalAlignments in the code because it's the > only thing that works. > > Unless you have a better idea... to which I'm very open, I want to > learn. > > 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 -~----------~----~----~----~------~----~------~--~---
