Tuesday, February 28, 2012

Re: How to make Label as <span>

Thanks a lot. It worked fine.

On Wed, Feb 29, 2012 at 1:19 AM, Hilco Wijbenga <hilco.wijbenga@gmail.com> wrote:
On 28 February 2012 10:56, Deepak Singh <deepaksingh.kr@gmail.com> wrote:
> Label la = new label("dddd");
>
> The above line when converted to java script generates into <div>. What i
> want is it should be converted in <span>.
> How can i achieve it ?

Use InlineLabel or simply add "display:inline".

--
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.




--
Deepak Singh

--
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.

No comments:

Post a Comment