Excellent! Great works. 

It works, it helps me to make near identical IE and Firefox/Chrome.



On Wednesday, 5 December 2007 03:35:05 UTC-5, Marco wrote:
>
> button { 
>     color: black; 
>     .................. 
> } 
>
> button:disabled{ 
>     color: gray; 
>     .................. 
> } 
>
> On 19 Nov, 13:18, Simon Vogensen <[email protected]> wrote: 
> > Hi 
> > 
> > I had the same problem and found out that if your stylesheet contains 
> > a style setting the color of button - that color will persist even 
> > when FireFox disables the button. 
> > 
> > Ex. 
> > button { 
> >     color: black; /* The textcolor of disabled buttons is overwritten 
> > by IE but is not by FireFox*/ 
> > 
> > } 
> > 
> > So do not set this style class on your button if it is disabled :-) 
> > 
> > Kind regards 
> > Simon Vogensen 
> > 
> > On Sep 27, 7:36 am, Bille <[email protected]> wrote: 
> > 
> > > Thanks for the reply. 
> > > Im not using handwritten code either. Im using the button class and 
> > > the setenabled method as well. The code that is generated by gwt is 
> > > <button type="button" class="gwt-Button" disabled="">Ændre</button> 
> > 
> > > On Sep 20, 11:13 pm, "Fede Angeleri" <[email protected]> wrote: 
> > 
> > > > Peter, I'm having same problem as Billie and I'm using the Button 
> class and 
> > > > the setEnabled method. 
> > 
> > > > On 9/20/07, Peter Blazejewicz <[email protected]> wrote: 
> > 
> > > > > hi Bille, 
> > 
> > > > > code generated by GWT Button class in FireFox is at least for me: 
> > 
> > > > > <button disabled="disabled" class="gwt-Button" 
> type="button">Disabled 
> > > > > button</button> 
> > 
> > > > > Note that generated code is different for IExplore, etc, so you 
> should 
> > > > > not use handwritten html code but simply use Button class which 
> will 
> > > > > write correct code for you, 
> > 
> > > > > regards, 
> > > > > Peter 
> > 
> > > > > On Sep 20, 9:05 am, Bille <[email protected]> wrote: 
> > > > > > Hi. 
> > 
> > > > > > I have a problem with gwt. I have a button which I disable and 
> in 
> > > > > > explorer it shows the button grayed out but it doesnt in 
> firefox. 
> > 
> > > > > > The html for the button looks like this 
> > 
> > > > > > <button type="button" class="gwt-Button" 
> disabled="">Ændre</button> 
> > 
> > > > > > When I write a new html page and paste the above in and opens it 
> in 
> > > > > > firefox it shows the button is disabled but for some reason it 
> doesnt 
> > > > > > work when running with gwt. 
> > 
> > > > > > Does anyone have an idea what could be wrong? 
> > 
> > > > > > Cincirely 
> > > > > > Bille.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to