Re: InlineLabel doesn't display a subsequent blank space in IE (but does otherwise.)
Hey Patrick.
Thanks for your suggestions. I can definitely implement either of
them, and it will work (I had actually already done it with your
second one using )
However my question was more to know whether this inconsistent display
between browsers is actually a bug, in which case I would fill an
issue.
GWT is, amongst other things, about lifting the cross browser worries,
hence by using GWT we should safely rely on a HTML/CSS/JavaScript code
generation that is bullet proven against switching browsers. So by
using it I want to avoid as often as possible generating my own code
dealing with that issue.
Regards.
Luc
On Apr 9, 11:07 pm, Patrick Tucker <tucker...@gmail.com> wrote:
> You could also use the escape sequence instead of the space.
>
> On Apr 9, 12:04 pm, Patrick Tucker <tucker...@gmail.com> wrote:
>
> > Why not just put left margin or padding on the label with the style
> > element?
>
> > On Apr 8, 11:05 pm, dindeman <dinde...@googlemail.com> wrote:
>
> > > The following simple structure in UiBinder produces different results
> > > in IE than in other browsers:
>
> > > <p><g:InlineLabel text='Hello'/> world!</p>
>
> > > When debugging the bound widget I find
> > > in IE:
> > > HTML: <DIV><P><SPAN class=gwt-InlineLabel>Hello</SPAN>world!</P></DIV>
> > > Display: Helloworld!
>
> > > in Firefox:
> > > HTML: <div><p><span class="gwt-InlineLabel">Hello</span> world!</p></
> > > div>
> > > Display: Hello world!
>
> > > Is this a bug? If yes, any workarounds?
>
> > > Cheers.
> > > Luc.
>
> > > * Config *
> > > GWT 2.1.1 / IE7
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home