I see it misaligned even on firefox.
Anyway simply add the divs to the outer panel in the left, right, center 
order (not left, center, right as you did). Recheck my last fiddle.
AFAIK should work also in IE.

On Tuesday, December 18, 2012 6:27:19 PM UTC+1, Magnus wrote:
>
> Hi Andrea,
>
> I would also prefer a cleaner solution, and I explicitely tried your 
> approach (using the code below). But it also gets misaligned in IE8:
> http://www.bavaria64.de:8080/bcst/index.html?testStatusBar
>
> The word "RIGHT" is not aligned to the right, but below the word "LEFT".
>
> There must be a solution that also works for IE... 
> Can you fix this?
>
> Thank you
> Magnus
>
> ---
>
>  private void init_4 ()
>  {
>   final String stl_outer = "width:100%;";
>   final String stl_lf = "float:left;";
>   final String stl_ct = "text-align:center;";
>   final String stl_rt = "float:right;";
>   
>   pnl_lf = createHTML (stl_lf);
>   pnl_ct = createHTML (stl_ct);
>   pnl_rt = createHTML (stl_rt);
>
>   FlowPanel outer = new FlowPanel ();
>   setStyle (outer,stl_outer);
>   outer.add(pnl_lf);
>   outer.add(pnl_ct);
>   outer.add(pnl_rt);
>   
>   add(outer);
>   
>   addStyleName ("apl-StatusBar");
>
>   pnl_lf.setHTML("LEFT!");
>   pnl_rt.setHTML("RIGHT!");
>   pnl_ct.setHTML("CENTER!");
>  }
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/e2kcvNPnhFcJ.
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.

Reply via email to