I am having troubles for positioning a span with the watermark text on top of an input. The code using GWT+uibinder looks like that:
http://jsfiddle.net/camposcarlos/dMzL4/
and transformed into html looks like that:
http://jsfiddle.net/ajMWd/
instead of having the span overlapped on top of the input field by floating it to the left:
|----------------------------------|
| |------------||--||
| |passwd ||Go||
| |------------||--||
| |
|----------------------------------|
I get it after the input
|----------------------------------|
| |------------| |--||
| | |passwd|Go||
| |------------| |--||
| |
|----------------------------------|
or in the next line if I try to position the span relative to the width of the input
|----------------------------------|
| |------------||--||
| | ||Go||
| |------------||--||
| passwd |
|----------------------------------|
Any ideas on how to solve it? Thanks in advance.