Re: CSS style rules of DecoratorPanel

2009-04-21 Thread Salvador Diaz
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

Re: CSS style rules of DecoratorPanel

2009-04-20 Thread hezjing
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)

Re: CSS style rules of DecoratorPanel

2009-04-19 Thread Salvador Diaz
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

CSS style rules of DecoratorPanel

2009-04-18 Thread hezjing
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 }

Re: CSS style rules of DecoratorPanel

2009-04-18 Thread Ian Bambury
You have a 3x3 box and each cell has a widget in it. The cell in the centre at the bottom is bottomCenter, the widget in it is bottomCenterInner. --- --- --- | O | O | O | --- --- --- | O | O | O | --- --- --- | O | O | O | --- --- --- --~--~-~--~~~---~--~~ You