Read this issue report to understand what's going on there:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3237
For the difference between selectors, google for "ie css hacks"

Cheers,

Salvador

On Apr 21, 4:43 am, hezjing <hezj...@gmail.com> wrote:
> I'm still studying DecoratorPanel :-)
> Here is the default CSS of GWT (copied from
> gwt-user.jar, 
> com/google/gwt/user/theme/standard/public/gwt/standard/standard.css)
> .gwt-DecoratorPanel .topLeft {
>   background: url(images/corner.png) no-repeat 0px 0px;
>   -background: url(images/corner_ie6.png) no-repeat 0px 0px;
>
> }
>
> My best guess from the filename (corner_ie6.png), is that the second will be
> used by IE.
> I opened corner.png and corner_ie6.png, but both images look the same to me.
> What is the reason to have the "background" and "-background" selector?
>
> On Sun, Apr 19, 2009 at 4:36 PM, Salvador Diaz <diaz.salva...@gmail.com>wrote:
>
>
>
>
>
> > I think tht the best way to "visualize exactly where the CSS rules are
> > applied" is to inspect your generated code with Firebug. In fact it'll
> > help you with so many other things that you'll probably adopt it in no
> > time as one of your day to day tools
>
> > cheers,
>
> > Salvador
>
> > On Apr 18, 6:03 pm, hezjing <hezj...@gmail.com> wrote:
> > > Hi
> > > I'm still trying with DecoratorPanel, and I'm not sure what are the
> > *Inner
> > > CSS style rules means.
> > > For example, .what is the different between .bottomLeft and
> > bottomLeftInner?
> > > And the different between bottomCenter and bottomCenterInner?
>
> > > .gwt-DecoratorPanel .bottomLeft { the bottom left cell }
> > > .gwt-DecoratorPanel .bottomLeftInner { the inner element of the cell }
>
> > > .gwt-DecoratorPanel .bottomCenter { the bottom center cell }
> > > .gwt-DecoratorPanel .bottomCenterInner { the inner element of the cell }
>
> > > Hmmm ... I probably need a diagram to visualize exactly where does the
> > CSS
> > > style rules applied to the DecoratorPanel :-)
>
> > > --
>
> > > Hez
>
> --
>
> Hez
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to