I used

white-space: nowrap;

on the containing element.

Dieter

Am 11.07.2013 23:23, schrieb Delange:
> I use css for positioning my fields, but Datatextfield ICON is always
> displayed a line below the input
> 
> For example:
> Orderdate                     BBBBBBBBB
>                                      <date icon>
> Who can help?
> 
> 
> css
> .regel{
>        clear:left;
> }
> .t1{
>       display: inline-block;
>     width: 200px;
>       float:left;
>       clear: left;
> }
> .t2{
>       display: inline-block;
>     width: 15px;
>       float:left;
>       color: red
> }
> .t3{
>       display: inline-block;
>     width: 100px;
>       float:left;
> 
> }
> 
> <label class="t2">&nbsp;</label>
> <div class="t3"><input wicket:id="besteldatum" name="besteldatum"
> type="text" size="9" maxlength="9"/></div>
> 
> Is displayed as:
> 
> <div class="regel">
> <label class="t1">Besteldatum</label>
> <label class="t2">&nbsp;</label>
> <div class="t3"><input name="besteldatum" type="text" size="9" maxlength="9"
> value="05/07/2013" id="id6"/>
> &nbsp;
> <../resource/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1-ver-A9D71378ED9162B2DB5DE040C09D5BDE.gif>
> </div>
> </div>
> 
> 
> 
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/DateTextField-image-is-displayed-on-line-below-tp4660217.html
> Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to