Re: How can I hide the border of richtextarea?

2008-12-08 Thread Danny Schimke
> Also on IE the text boxes and text areas have a native border (gray inset
border), I think we cant remove that one

I think so too! It would be nice if there is a way to set IE's frameborder
to zero...

I extended my own frame from GWT's frame with a method that sets the border:

public void setFrameBorder(Integer border) {
getFrameElement().setFrameBorder(border);
}

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How can I hide the border of richtextarea?

2008-12-08 Thread Litty Preeth
But for me its working... Do u have any CSS styles associated with the
richtextbox?? Which browser did u try on? I tried on firefox...

Also on IE the text boxes and text areas have a native border (gray inset
border), I think we cant remove that one. If you want to get consistent look
n feel on both IE and firefox, then may be u can try setting a solid 1px
border, this ll give u "somewhat" similar looknfeel for IE n firefox.

- Litty Preeth

On Mon, Dec 8, 2008 at 8:23 PM, <[EMAIL PROTECTED]> wrote:

> Thank you for your reply,but this way doesn't work.
>
> 2008/12/8 Litty Preeth <[EMAIL PROTECTED]>
>
> May be you should try
>> DOM.setStyleAttribute(rta.getElement(), "border", "0px");
>>
>>
>> On Sun, Dec 7, 2008 at 3:12 PM, lichking.zz <[EMAIL PROTECTED]>wrote:
>>
>>>
>>> Hi,all
>>>
>>> I try to hide the border by using:
>>>
>>> RichTextArea rta = new RichTextArea();
>>> rta.getElement().setAttribute("frameborder", "no");
>>>
>>> But it doesn't work.
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How can I hide the border of richtextarea?

2008-12-08 Thread lichking . zz
Thank you for your reply,but this way doesn't work.

2008/12/8 Litty Preeth <[EMAIL PROTECTED]>

> May be you should try
> DOM.setStyleAttribute(rta.getElement(), "border", "0px");
>
>
> On Sun, Dec 7, 2008 at 3:12 PM, lichking.zz <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,all
>>
>> I try to hide the border by using:
>>
>> RichTextArea rta = new RichTextArea();
>> rta.getElement().setAttribute("frameborder", "no");
>>
>> But it doesn't work.
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How can I hide the border of richtextarea?

2008-12-07 Thread Litty Preeth
May be you should try
DOM.setStyleAttribute(rta.getElement(), "border", "0px");

On Sun, Dec 7, 2008 at 3:12 PM, lichking.zz <[EMAIL PROTECTED]> wrote:

>
> Hi,all
>
> I try to hide the border by using:
>
> RichTextArea rta = new RichTextArea();
> rta.getElement().setAttribute("frameborder", "no");
>
> But it doesn't work.
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



How can I hide the border of richtextarea?

2008-12-07 Thread lichking.zz

Hi,all

I try to hide the border by using:

RichTextArea rta = new RichTextArea();
rta.getElement().setAttribute("frameborder", "no");

But it doesn't work.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---